summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-04-02 16:29:50 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-04-02 16:29:50 +0000
commit74f890cb94d00e862950305961bd792560109cf9 (patch)
tree8a50069cb393122e4e09e0707e87745ea9832ece /etc
parent6cb438cf5acb9005434b0e8cda6f8db4797cb902 (diff)
downloadpfsense-74f890cb94d00e862950305961bd792560109cf9.zip
pfsense-74f890cb94d00e862950305961bd792560109cf9.tar.gz
Set /sbin/sysctl -n net.link.ether.inet.log_arp_movement=0 when shared physical net is checked
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/system.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index d2f59c2..8e24dea 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -1215,6 +1215,7 @@ function system_disable_arp_wrong_if() {
echo "system_disable_arp_wrong_if() being called $mt\n";
}
mwexec("/sbin/sysctl -n net.link.ether.inet.log_arp_wrong_iface=0");
+ mwexec("/sbin/sysctl -n net.link.ether.inet.log_arp_movement=0");
}
function system_enable_arp_wrong_if() {
@@ -1224,6 +1225,7 @@ function system_enable_arp_wrong_if() {
echo "system_enable_arp_wrong_if() being called $mt\n";
}
mwexec("/sbin/sysctl -n net.link.ether.inet.log_arp_wrong_iface=1");
+ mwexec("/sbin/sysctl -n net.link.ether.inet.log_arp_movement=1");
}
function enable_watchdog() {
OpenPOWER on IntegriCloud