Browse Source

Merge pull request #14666 from pprindeville/isc-dhcp-support-hex-string-options

isc-dhcp: support hex strings as option arguments
lilik-openwrt-22.03
Philip Prindeville 4 years ago
committed by GitHub
parent
commit
490ef7f821
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      net/isc-dhcp/Makefile
  2. +1
    -0
      net/isc-dhcp/files/dhcpd.init

+ 1
- 1
net/isc-dhcp/Makefile View 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


+ 1
- 0
net/isc-dhcp/files/dhcpd.init View File

@ -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…
Cancel
Save