summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-04-11 11:11:44 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-04-11 11:12:06 -0300
commitc1d8c235c4135dc4e5cdd1fe024066364eed4392 (patch)
treedfe384d28e82b9252dc1dbe55f1c5fbc0f733d8c /etc
parent57f62cd8c0982277fbbf2c133e0249da9a34abc3 (diff)
downloadpfsense-c1d8c235c4135dc4e5cdd1fe024066364eed4392.zip
pfsense-c1d8c235c4135dc4e5cdd1fe024066364eed4392.tar.gz
Configure static arp inside interface_configure() since it removes all interface addresses and the static arps are removed together. It fixes #2939
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc1
-rwxr-xr-xetc/rc.linkup1
2 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 2c10f1d..0ad8211 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3071,6 +3071,7 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven
}
}
+ interfaces_staticarp_configure($interface);
return 0;
}
diff --git a/etc/rc.linkup b/etc/rc.linkup
index 3566b9d..6283aa2 100755
--- a/etc/rc.linkup
+++ b/etc/rc.linkup
@@ -72,7 +72,6 @@ function handle_argument_group($iface, $argument2) {
case "start":
case "up":
log_error("DEVD Ethernet attached event for {$iface}");
- interfaces_staticarp_configure($iface);
log_error("HOTPLUG: Configuring interface {$iface}");
// Do not try to readd to bridge otherwise em(4) has problems
interface_configure($iface, false, true);
OpenPOWER on IntegriCloud