diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-10-05 21:24:33 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-10-05 21:24:33 +0000 |
commit | 3baad61a31198cf8ffed1d377676d963ae481dbc (patch) | |
tree | b2ff40b601ec413e1647e3f51dc5aca5b2a3cff1 /etc | |
parent | b8f71fde9465da6004b5681203a0ce7143b55f64 (diff) | |
download | pfsense-3baad61a31198cf8ffed1d377676d963ae481dbc.zip pfsense-3baad61a31198cf8ffed1d377676d963ae481dbc.tar.gz |
Do not handle blank interface names.
Ticket #1461
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.linkup | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup index 644ff82..523bd9b 100755 --- a/etc/rc.linkup +++ b/etc/rc.linkup @@ -49,6 +49,8 @@ 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 |