Make DHCP server rules work again. on OPT interfaces.

This commit is contained in:
Seth Mos 2007-01-23 20:43:02 +00:00
parent b2d95b76c6
commit fde7c161a7

View File

@ -2035,7 +2035,7 @@ EOD;
/* allow access to DHCP server on optional interfaces */
foreach ($optcfg as $on => $oc) {
if (isset($config[interfaces][$on][ipaddr]) == "dhcp" ) {
if ($config[interfaces][$on][ipaddr] == "dhcp" ) {
$friendly_on = filter_get_opt_interface_descr($on);
$ipfrules .= <<<EOD