Revision c1d8c235
Added by Renato Botelho over 12 years ago
etc/inc/interfaces.inc | ||
---|---|---|
3071 | 3071 |
} |
3072 | 3072 |
} |
3073 | 3073 |
|
3074 |
interfaces_staticarp_configure($interface); |
|
3074 | 3075 |
return 0; |
3075 | 3076 |
} |
3076 | 3077 |
|
etc/rc.linkup | ||
---|---|---|
72 | 72 |
case "start": |
73 | 73 |
case "up": |
74 | 74 |
log_error("DEVD Ethernet attached event for {$iface}"); |
75 |
interfaces_staticarp_configure($iface); |
|
76 | 75 |
log_error("HOTPLUG: Configuring interface {$iface}"); |
77 | 76 |
// Do not try to readd to bridge otherwise em(4) has problems |
78 | 77 |
interface_configure($iface, false, true); |
Also available in: Unified diff
Configure static arp inside interface_configure() since it removes all interface addresses and the static arps are removed together. It fixes #2939