isc-dhcp: support hex strings as option arguments 14666/head
authorPhilip Prindeville <philipp@redfish-solutions.com>
Fri, 5 Feb 2021 21:13:44 +0000 (14:13 -0700)
committerPhilip Prindeville <philipp@redfish-solutions.com>
Fri, 5 Feb 2021 21:20:05 +0000 (14:20 -0700)
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
net/isc-dhcp/Makefile
net/isc-dhcp/files/dhcpd.init

index 8db25d84112ca7c5e1d88465d4181cbd0f08e6a3..dbfc798ac03517ca863acbea79a42c65994ed356 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=isc-dhcp
 UPSTREAM_NAME:=dhcp
 PKG_VERSION:=4.4.1
-PKG_RELEASE:=15
+PKG_RELEASE:=16
 
 PKG_LICENSE:=BSD-3-Clause
 PKG_LICENSE_FILES:=LICENSE
index 414c1795619dbe9d8bf7f87b26231e956375de42..06415729e751f2435ad754a7472e3c4b2adaef55 100755 (executable)
@@ -74,6 +74,7 @@ typeof() {
 /^(true|false)$/               { print "bool\n"; next; }
 /^\d+$/                                { print "integer\n"; next; }
 /^"[^"]*"$/                    { print "string\n"; next; }
+/^[0-9a-fA-F]{2,2}(:[0-9a-fA-F]{2,2})*$/       { print "string\n"; next; }
                                { print "other\n"; next; }
 '
 }