diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-04-03 22:46:05 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-04-03 22:46:05 +0000 |
commit | 3390eca769dd8854615bddde70218247d03784e4 (patch) | |
tree | 4fb43076d184d01987eb233546f9bfc801541b95 | |
parent | 555d3758fc55949578658bf81123f8ffc614c606 (diff) | |
download | pfsense-3390eca769dd8854615bddde70218247d03784e4.zip pfsense-3390eca769dd8854615bddde70218247d03784e4.tar.gz |
Send errors to /dev/null.. useful if you do not have a hardware crypto card to silence errors
-rw-r--r-- | etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index b966cf4..0e59f84 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -1043,7 +1043,7 @@ function system_disable_arp_wrong_if() { $mt = microtime(); echo "system_disable_arp_wrong_if() being called $mt\n"; } - mwexec("/sbin/sysctl -n net.link.ether.inet.log_arp_wrong_iface=0"); + system("/sbin/sysctl -n net.link.ether.inet.log_arp_wrong_iface=0 2>/dev/null"); } function system_enable_arp_wrong_if() { |