mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 08:28:20 +04:00
ddns-scripts: porkbun bugfix for subdomain on A/AAAA record
If the "name" parameter is not provided, then updates to a subdomain A/AAAA record result in the subdomain being removed from the record. This change always provides the "name" parameter to correct that behavior. Signed-off-by: Dillon Dixon <github@dillon.io>
This commit is contained in:
committed by
Florian Eckert
parent
0a0680af1d
commit
b3d9e90942
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ddns-scripts
|
||||
PKG_VERSION:=2.8.2
|
||||
PKG_RELEASE:=49
|
||||
PKG_RELEASE:=50
|
||||
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
|
||||
|
||||
@@ -130,6 +130,7 @@ function edit_record() {
|
||||
local request response
|
||||
json_init
|
||||
json_authenticate
|
||||
json_add_string "name" "$__SUBDOMAIN"
|
||||
json_add_string "type" "$__TYPE"
|
||||
json_add_string "content" "$__ADDR"
|
||||
request=$(json_dump)
|
||||
|
||||
Reference in New Issue
Block a user