mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not handle blank interface names.
This commit is contained in:
parent
66eff923a3
commit
79ff482de7
@ -46,9 +46,11 @@
|
||||
}
|
||||
|
||||
function handle_argument_group($argument1, $argument2) {
|
||||
global $config;
|
||||
global $config;
|
||||
log_error("Processing {$argument1} - {$argument2}");
|
||||
$iface = convert_real_interface_to_friendly_interface_name($argument1);
|
||||
if(!$iface)
|
||||
return;
|
||||
if($config['interfaces'][$iface]['ipaddr'] <> "dhcp" and
|
||||
$config['interfaces'][$iface]['ipaddr'] <> "pppoe" and
|
||||
$config['interfaces'][$iface]['ipaddr'] <> "bigpond" and
|
||||
|
||||
Loading…
Reference in New Issue
Block a user