diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-02-28 19:32:05 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-02-28 19:32:05 +0000 |
commit | 43d35749e259537d721a5f8d866722557e3d3007 (patch) | |
tree | ada9422648763b66f28f2f4bcc815ab7adc9eb20 /etc/rc.linkup | |
parent | 56e1d16eba68ed0809cc9e026c120e9daabe56c3 (diff) | |
download | pfsense-43d35749e259537d721a5f8d866722557e3d3007.zip pfsense-43d35749e259537d721a5f8d866722557e3d3007.tar.gz |
Use correct variable
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-x | etc/rc.linkup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup index dc14be3..fc7c0a6 100755 --- a/etc/rc.linkup +++ b/etc/rc.linkup @@ -37,7 +37,7 @@ require_once("functions.inc"); function handle_argument_group($argument1, $argument2) { global $config; - $ipaddr = $config['interfaces'][$iface]['ipaddr']; + $ipaddr = $config['interfaces'][$argument1]['ipaddr']; if (is_ipaddr($ipaddr)) { log_error("Hotplug event detected for {$argument1} but ignoring since interface is configured with static ip({$ipaddr})"); exec("/usr/sbin/arp -d -i {$argument1} -a"); |