From: Philip Prindeville Date: Mon, 11 Sep 2023 19:12:39 +0000 (-0600) Subject: isc-dhcpd: Generate correct delimiter in hex strings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4590decf5bba9c591954c260d0201993aefaf4cd;p=feed%2Fpackages.git isc-dhcpd: Generate correct delimiter in hex strings Signed-off-by: Philip Prindeville --- diff --git a/net/isc-dhcp/Makefile b/net/isc-dhcp/Makefile index 8d3be4c91c..d7c4a15661 100644 --- a/net/isc-dhcp/Makefile +++ b/net/isc-dhcp/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=isc-dhcp UPSTREAM_NAME:=dhcp PKG_VERSION:=4.4.3-P1 -PKG_RELEASE:=5 +PKG_RELEASE:=6 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 3825944845..b0bf809a59 100755 --- a/net/isc-dhcp/files/dhcpd.init +++ b/net/isc-dhcp/files/dhcpd.init @@ -294,17 +294,17 @@ static_host_add() { for option in $force_send; do case "$option" in hostname) - extra_options="$extra_options${extra_options:+ }0c" ;; + extra_options="$extra_options${extra_options:+,}0c" ;; domain-name) - extra_options="$extra_options${extra_options:+ }0f" ;; + extra_options="$extra_options${extra_options:+,}0f" ;; renewal-time) - extra_options="$extra_options${extra_options:+ }3a" ;; + extra_options="$extra_options${extra_options:+,}3a" ;; rebinding-time) - extra_options="$extra_options${extra_options:+ }3b" ;; + extra_options="$extra_options${extra_options:+,}3b" ;; fqdn) - extra_options="$extra_options${extra_options:+ }51" ;; + extra_options="$extra_options${extra_options:+,}51" ;; routes) - extra_options="$extra_options${extra_options:+ }79" ;; + extra_options="$extra_options${extra_options:+,}79" ;; *) echo "unknown option: $option" >&2 ;; esac