From 850324a23e45b3a11231f910290f8ff9b774d9bc Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 18 Jun 2013 13:00:26 -0400 Subject: Add a field to allow rejecting DHCP leases from a specific upstream DHCP server. --- etc/inc/interfaces.inc | 10 ++++++++++ usr/local/www/interfaces.php | 14 ++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 29ac9e6..41d326e 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -3550,6 +3550,16 @@ select-timeout 0; initial-interval 1; {$dhclientconf_hostname} script "/sbin/dhclient-script"; +EOD; + +if (is_ipaddrv4($wancfg['dhcprejectfrom'])) { + $dhclientconf .= << gettext("None"), "staticv6" => gettext("Static IPv6"), + + + +
+ + + + + -- cgit v1.1