diff options
author | Ermal <eri@pfsense.org> | 2010-08-30 19:51:25 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-08-30 19:51:25 +0000 |
commit | 69695597ca7eef4f1afa0b2b1f771eade1be3596 (patch) | |
tree | 28f12c974131820661d3bd9dbc1171e579fe8661 | |
parent | 2c7497cb68acefa086f5f29ec5cdc0b565562966 (diff) | |
download | pfsense-69695597ca7eef4f1afa0b2b1f771eade1be3596.zip pfsense-69695597ca7eef4f1afa0b2b1f771eade1be3596.tar.gz |
Ticket #846. Do not reconfigure an 'none' configured interface.
-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 682adb1..02eedc4 100755 --- a/etc/rc.linkup +++ b/etc/rc.linkup @@ -40,7 +40,7 @@ function handle_argument_group($iface, $argument2) { global $config; $ipaddr = $config['interfaces'][$iface]['ipaddr']; - if (is_ipaddr($ipaddr)) { + if (is_ipaddr($ipaddr) || empty($ipaddr)) { log_error("Hotplug event detected for {$iface} but ignoring since interface is configured with static IP ({$ipaddr})"); $iface = get_real_interface($iface); exec("/usr/sbin/arp -d -i {$iface} -a"); |