summaryrefslogtreecommitdiffstats
path: root/etc/rc.linkup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-04-29 23:13:41 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-04-29 23:13:41 +0000
commit28b0b1a76f50182179d25bfea157699a139bddb9 (patch)
tree10bc63996f13a84a38b7bbc0178d9bcc89eefbdf /etc/rc.linkup
parent0be645753454ed891d26ff1bde714987ff3fd9b8 (diff)
downloadpfsense-28b0b1a76f50182179d25bfea157699a139bddb9.zip
pfsense-28b0b1a76f50182179d25bfea157699a139bddb9.tar.gz
$config needs to be a global. Someone needs a pointy-hat!
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-xetc/rc.linkup3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup
index 9313c9c..644ff82 100755
--- a/etc/rc.linkup
+++ b/etc/rc.linkup
@@ -46,9 +46,10 @@
}
function handle_argument_group($argument1, $argument2) {
+ global $config;
log_error("Processing {$argument1} - {$argument2}");
$iface = convert_real_interface_to_friendly_interface_name($argument1);
- if($config['interfaces'][$friendly_interface]['ipaddr'] <> "dhcp" and
+ if($config['interfaces'][$iface]['ipaddr'] <> "dhcp" and
$config['interfaces'][$iface]['ipaddr'] <> "pppoe" and
$config['interfaces'][$iface]['ipaddr'] <> "bigpond" and
$config['interfaces'][$iface]['ipaddr'] <> "pptp") {
OpenPOWER on IntegriCloud