diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-04-02 16:28:16 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-04-02 16:28:16 +0000 |
commit | 6cb438cf5acb9005434b0e8cda6f8db4797cb902 (patch) | |
tree | d7e28cf352e1734ae2550bf5d78017359a21f27c /etc | |
parent | f745ee765cd0793f0f33deb10bd34262c349afe3 (diff) | |
download | pfsense-6cb438cf5acb9005434b0e8cda6f8db4797cb902.zip pfsense-6cb438cf5acb9005434b0e8cda6f8db4797cb902.tar.gz |
Use mwexec() to avoid printing out the sysctl operation
Diffstat (limited to 'etc')
-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 dca76c0..d2f59c2 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -1214,7 +1214,7 @@ function system_disable_arp_wrong_if() { $mt = microtime(); echo "system_disable_arp_wrong_if() being called $mt\n"; } - system("/sbin/sysctl -n net.link.ether.inet.log_arp_wrong_iface=0 2>/dev/null"); + mwexec("/sbin/sysctl -n net.link.ether.inet.log_arp_wrong_iface=0"); } function system_enable_arp_wrong_if() { |