isc-dhcp: support hex strings as option arguments
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
parent
6daaac6e30
commit
e05e8dc880
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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; }
|
||||
'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue