From: Philip Prindeville Date: Mon, 1 Dec 2025 23:09:26 +0000 (-0700) Subject: isc-dhcp: use modzone not addzone so in-addr.arpa works X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=27f55cdbda2259bcd8ab3f0b7c56aca12931689f;p=feed%2Fpackages.git isc-dhcp: use modzone not addzone so in-addr.arpa works Updates to in-addr.arpa are being rejected with: update failed: REFUSED because we create an empty zone, and then try to add it again when it already exists. So use modzone instead to update it. Signed-off-by: Philip Prindeville --- diff --git a/net/isc-dhcp/Makefile b/net/isc-dhcp/Makefile index 6ee6b90009..c9eddf3a3e 100644 --- a/net/isc-dhcp/Makefile +++ b/net/isc-dhcp/Makefile @@ -11,7 +11,7 @@ PKG_NAME:=isc-dhcp UPSTREAM_NAME:=dhcp PKG_REALVERSION:=4.4.3-P1 PKG_VERSION:=4.4.3_p1 -PKG_RELEASE:=12 +PKG_RELEASE:=13 PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=LICENSE diff --git a/net/isc-dhcp/files/dhcpd.init b/net/isc-dhcp/files/dhcpd.init index b6e454cc54..d7f24d9be0 100755 --- a/net/isc-dhcp/files/dhcpd.init +++ b/net/isc-dhcp/files/dhcpd.init @@ -137,11 +137,11 @@ write_empty_zone() { local zpath zpath="$1" - cat > "$zpath" <<\EOF + cat > "$zpath" <