summaryrefslogtreecommitdiffstats
path: root/etc/rc.linkup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-10-05 21:24:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-10-05 21:24:40 +0000
commit79ff482de7a10112fabfb08de0e574eceeb0477e (patch)
treecc4b22f2a2c5c237d1cd111af9ecb5e19a692f90 /etc/rc.linkup
parent66eff923a353c2bc8d855083a3dd9e2562f7ea7b (diff)
downloadpfsense-79ff482de7a10112fabfb08de0e574eceeb0477e.zip
pfsense-79ff482de7a10112fabfb08de0e574eceeb0477e.tar.gz
Do not handle blank interface names. Ticket #1461
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-xetc/rc.linkup4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup
index 644ff82..62ad930 100755
--- a/etc/rc.linkup
+++ b/etc/rc.linkup
@@ -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
OpenPOWER on IntegriCloud