From: Philip Prindeville Date: Mon, 4 Aug 2025 01:40:44 +0000 (-0600) Subject: isc-dhcp: fix spacing on forced parameters X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=824a344a4a17f913c9722b5204a31ee2eef1df32;p=feed%2Fpackages.git isc-dhcp: fix spacing on forced parameters If there's a "forced_send" option, then put spaces between multiple parameter codes. Signed-off-by: Philip Prindeville --- diff --git a/net/isc-dhcp/files/dhcpd.init b/net/isc-dhcp/files/dhcpd.init index f67ed9f9b5..7f32e41f4c 100755 --- a/net/isc-dhcp/files/dhcpd.init +++ b/net/isc-dhcp/files/dhcpd.init @@ -315,17 +315,17 @@ static_host_add() { for option in ${force_send//,/ }; do case "$option" in hostname) - append extra_options "0c" "," ;; + append extra_options "0c" ", " ;; domain-name) - append extra_options "0f" "," ;; + append extra_options "0f" ", " ;; renewal-time) - append extra_options "3a" "," ;; + append extra_options "3a" ", " ;; rebinding-time) - append extra_options "3b" "," ;; + append extra_options "3b" ", " ;; fqdn) - append extra_options "51" "," ;; + append extra_options "51" ", " ;; routes) - append extra_options "79" "," ;; + append extra_options "79" ", " ;; *) echo "unknown option: $option" >&2 ;; esac