This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
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
02fb0de9fa
e05e8dc880
commit
490ef7f821
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
net/isc-dhcp/Makefile
+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
:=
1
5
PKG_RELEASE
:=
1
6
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; }
'
}
Write
Preview
Loading…
Cancel
Save