Revision 06cb2656
Added by Erik Fonnesbeck about 15 years ago
etc/inc/interfaces.inc | ||
---|---|---|
2136 | 2136 |
$reg_changing = true; |
2137 | 2137 |
else if ($wlcfg['reglocation'] == 'anywhere' && preg_match("/\s(indoor|outdoor)\s/si", $ifconfig_str)) |
2138 | 2138 |
$reg_changing = true; |
2139 |
} else if ($wlcfg['reglocation'] && $wlcfg['reglocation'] != 'anywhere' && !preg_match("/\s{$wlcfg['reglocation']}\s/si", $ifconfig_str))
|
|
2139 |
else if ($wlcfg['reglocation'] && $wlcfg['reglocation'] != 'anywhere' && !preg_match("/\s{$wlcfg['reglocation']}\s/si", $ifconfig_str)) |
|
2140 | 2140 |
$reg_changing = true; |
2141 | 2141 |
|
2142 | 2142 |
if ($reg_changing) { |
Also available in: Unified diff
Remove extra }