Revision 69695597
Added by Ermal LUÇI almost 15 years ago
etc/rc.linkup | ||
---|---|---|
40 | 40 |
global $config; |
41 | 41 |
|
42 | 42 |
$ipaddr = $config['interfaces'][$iface]['ipaddr']; |
43 |
if (is_ipaddr($ipaddr)) { |
|
43 |
if (is_ipaddr($ipaddr) || empty($ipaddr)) {
|
|
44 | 44 |
log_error("Hotplug event detected for {$iface} but ignoring since interface is configured with static IP ({$ipaddr})"); |
45 | 45 |
$iface = get_real_interface($iface); |
46 | 46 |
exec("/usr/sbin/arp -d -i {$iface} -a"); |
Also available in: Unified diff
Ticket #846. Do not reconfigure an 'none' configured interface.