Fix typo in filter.inc. Fixes #3028.

Due to the typo, FilterIfList never got a 'track6-interface' entry,
which in turn prevented the DHCP6-related pass rules from being
generated for the LAN interface.
This commit is contained in:
Daniel Becker 2013-07-07 11:22:18 -07:00 committed by Renato Botelho
parent 6efe0caeb3
commit fc654f2c36

View File

@ -867,7 +867,7 @@ function filter_generate_optcfg_array() {
if(!is_ipaddrv6($oc['ipaddrv6']) && !empty($oc['ipaddrv6']))
$oic['type6'] = $oc['ipaddrv6'];
if (!empty($oc['track6-interface']))
$oc['track6-interface'] = $oc['track6-interface'];
$oic['track6-interface'] = $oc['track6-interface'];
$oic['sn'] = get_interface_subnet($if);
$oic['snv6'] = get_interface_subnetv6($if);
$oic['mtu'] = empty($oc['mtu']) ? 1500 : $oc['mtu'];