isc-dhcpd: Generate correct delimiter in hex strings
authorPhilip Prindeville <philipp@redfish-solutions.com>
Mon, 11 Sep 2023 19:12:39 +0000 (13:12 -0600)
committerPhilip Prindeville <philipp@redfish-solutions.com>
Sun, 17 Sep 2023 20:28:10 +0000 (14:28 -0600)
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
net/isc-dhcp/Makefile
net/isc-dhcp/files/dhcpd.init

index 8d3be4c91c54c4ba57b75c73323f25859e639bc1..d7c4a156614bb375276aa15fb0a7f73447b49424 100644 (file)
@@ -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
index 3825944845394e62c0b2f92db97e3a1b2f6eaaf1..b0bf809a59a0b1e8ea27336d1cf6c23fa7f59791 100755 (executable)
@@ -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