summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-04-09 00:01:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-04-09 00:01:57 +0000
commitd254fe7bfc6a9102877992b6edcaa802b069972c (patch)
tree9191c70a023298502ee09cec4921951c53440509
parent8f798977a284421c4d82b4d0a81aa0c7b91d8b46 (diff)
downloadpfsense-d254fe7bfc6a9102877992b6edcaa802b069972c.zip
pfsense-d254fe7bfc6a9102877992b6edcaa802b069972c.tar.gz
If the interface is "lan" and bridging is enabled then skip creation of the DHCP Server subnet. Ticket #1281
-rw-r--r--etc/inc/services.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index a9f95b9..fff377e 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -185,6 +185,9 @@ EOPP;
(!isset($ifcfg['enable']) || !$ifcfg['if'] || $ifcfg['bridge'])))
continue;
+ if($dhcpif == "lan" && $ifcfg['bridge'])
+ continue;
+
$subnet = gen_subnet($ifcfg['ipaddr'], $ifcfg['subnet']);
$subnetmask = gen_subnet_mask($ifcfg['subnet']);
OpenPOWER on IntegriCloud