diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2007-01-02 22:58:15 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2007-01-02 22:58:15 +0000 |
commit | 2d5614def6137c5316e9c5617c9be07500243e99 (patch) | |
tree | 4bc49086dc47cf369cb251dedea08721d74908eb /etc/inc/services.inc | |
parent | c98df176c0ecefffe39825f63aafcc4a961067f8 (diff) | |
download | pfsense-2d5614def6137c5316e9c5617c9be07500243e99.zip pfsense-2d5614def6137c5316e9c5617c9be07500243e99.tar.gz |
Do not configure DHCP server on dhcp interfaces.
Diffstat (limited to 'etc/inc/services.inc')
-rw-r--r-- | etc/inc/services.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index b3ef24e..81252e1 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -180,6 +180,7 @@ EOPP; $ifcfg = $config['interfaces'][$dhcpif]; if (!isset($dhcpifconf['enable']) || + ($ifcfg['ipaddr'] == "dhcp") || (($dhcpif != "lan") && (!isset($ifcfg['enable']) || !$ifcfg['if'] || $ifcfg['bridge']))) continue; @@ -1180,4 +1181,4 @@ EODAD; conf_mount_ro(); } -?>
\ No newline at end of file +?> |