mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
isc-dhcp: support hex strings as option arguments
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
@@ -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; }
|
||||
'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user