diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-04-09 00:01:57 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-04-09 00:01:57 +0000 |
commit | d254fe7bfc6a9102877992b6edcaa802b069972c (patch) | |
tree | 9191c70a023298502ee09cec4921951c53440509 /etc/inc/services.inc | |
parent | 8f798977a284421c4d82b4d0a81aa0c7b91d8b46 (diff) | |
download | pfsense-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
Diffstat (limited to 'etc/inc/services.inc')
-rw-r--r-- | etc/inc/services.inc | 3 |
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']); |