diff options
author | jim-p <jimp@pfsense.org> | 2013-06-18 13:00:26 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-06-18 13:01:07 -0400 |
commit | 850324a23e45b3a11231f910290f8ff9b774d9bc (patch) | |
tree | 7b2a527710a42772fc4ba4255c448809cf89daf6 /etc/inc | |
parent | c32e058108193d17da7085623775c94d21a8bd96 (diff) | |
download | pfsense-850324a23e45b3a11231f910290f8ff9b774d9bc.zip pfsense-850324a23e45b3a11231f910290f8ff9b774d9bc.tar.gz |
Add a field to allow rejecting DHCP leases from a specific upstream DHCP server.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/interfaces.inc | 10 |
1 files changed, 10 insertions, 0 deletions
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 .= <<<EOD + + reject {$wancfg['dhcprejectfrom']}; +EOD; +} + $dhclientconf .= <<<EOD + } EOD; |