diff options
author | Chris Buechler <cmb@pfsense.org> | 2010-10-20 14:43:00 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2010-10-20 14:43:00 -0400 |
commit | d8912c6bb9feb32522084854e8cfbf5893c4cb4c (patch) | |
tree | d3c46ad3d3d304412f122bd070b65337d0ce8681 /etc/inc | |
parent | ac87dbbf244d2415dbe72cc4746e2722004cf42c (diff) | |
download | pfsense-d8912c6bb9feb32522084854e8cfbf5893c4cb4c.zip pfsense-d8912c6bb9feb32522084854e8cfbf5893c4cb4c.tar.gz |
move dhcpd.conf authoritative; so it's only there once, not once per interface.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/services.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index b0b658f..34f35e3 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -141,6 +141,9 @@ ping-check true; EOD; + if(!isset($dhcpifconf['disableauthoritative'])) + $dhcpdconf .= "authoritative;\n"; + if(isset($dhcpifconf['alwaysbroadcast'])) $dhcpdconf .= "always-broadcast on\n"; @@ -157,9 +160,6 @@ EOD; if (!isset($dhcpifconf['enable'])) continue; - if(!isset($dhcpifconf['disableauthoritative'])) - $dhcpdconf .= "authoritative;\n"; - if($dhcpifconf['failover_peerip'] <> "") { $int = guess_interface_from_ip($dhcpifconf['failover_peerip']); $intip = find_interface_ip($int); @@ -1371,4 +1371,4 @@ function install_cron_job($command, $active=false, $minute="0", $hour="*", $mont configure_cron(); } -?> +?>
\ No newline at end of file |