summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-10-19 13:32:55 +0000
committerErmal Luçi <eri@pfsense.org>2008-10-19 13:32:55 +0000
commitadec6851084a557c2133f90d5bcb15e92fdb83c5 (patch)
tree0d2a2b5ca576741522e2bcb20b58129e4e7817ff /etc
parentd8acd7062457e19bd5c77333a3cc8141324892af (diff)
downloadpfsense-adec6851084a557c2133f90d5bcb15e92fdb83c5.zip
pfsense-adec6851084a557c2133f90d5bcb15e92fdb83c5.tar.gz
Clear the arp entries for the interface going down.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 181cd9d..0503cf0 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -535,6 +535,8 @@ function interface_bring_down($interface = "wan")
$realif = get_real_wan_interface($interface);
+ mwexec("/usr/sbin/arp -d -i {$realif} -a");
+
switch ($ifcfg['ipaddr']) {
case "pppoe":
killbypid("{$g['varrun_path']}/pppoe_{$interface}.pid");
OpenPOWER on IntegriCloud