Browse Source
Merge pull request #5891 from pprindeville/add-per-host-dhcp-options
isc-dhcp: allow hosts to have dhcp options
lilik-openwrt-22.03
Philip Prindeville
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
1 deletions
-
net/isc-dhcp/Makefile
-
net/isc-dhcp/files/dhcpd.init
|
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
PKG_NAME:=isc-dhcp |
|
|
|
UPSTREAM_NAME:=dhcp |
|
|
|
PKG_VERSION:=4.4.0 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
PKG_RELEASE:=3 |
|
|
|
|
|
|
|
PKG_LICENSE:=BSD-3-Clause |
|
|
|
PKG_LICENSE_FILES:=LICENSE |
|
|
|
|
|
@ -112,6 +112,7 @@ static_host_add() { |
|
|
|
if [ -n "$gateway" ] ; then |
|
|
|
echo " option routers $gateway;" |
|
|
|
fi |
|
|
|
config_list_foreach "$cfg" "dhcp_option" append_dhcp_options |
|
|
|
echo "}" |
|
|
|
done |
|
|
|
} |
|
|
|