If the interface is "lan" and bridging is enabled then skip creation of the DHCP Server subnet.

This commit is contained in:
Scott Ullrich 2007-04-09 00:01:57 +00:00
parent 8f798977a2
commit d254fe7bfc

View File

@ -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']);