summaryrefslogtreecommitdiffstats
path: root/etc/inc/services.inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-01-02 22:58:15 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-01-02 22:58:15 +0000
commit2d5614def6137c5316e9c5617c9be07500243e99 (patch)
tree4bc49086dc47cf369cb251dedea08721d74908eb /etc/inc/services.inc
parentc98df176c0ecefffe39825f63aafcc4a961067f8 (diff)
downloadpfsense-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.inc3
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
+?>
OpenPOWER on IntegriCloud