diff options
author | sullrich <sullrich@pfsense.org> | 2009-11-28 14:16:11 -0500 |
---|---|---|
committer | sullrich <sullrich@pfsense.org> | 2009-11-28 14:16:11 -0500 |
commit | f69f34f1289edb93b62e35f801efdef1093c234d (patch) | |
tree | e9be1e36f48bbec85edced68a86a10ae18839a12 /etc/inc | |
parent | 5c1f3ed27083c9ce218c7c638488dec44110d7ff (diff) | |
download | pfsense-f69f34f1289edb93b62e35f801efdef1093c234d.zip pfsense-f69f34f1289edb93b62e35f801efdef1093c234d.tar.gz |
sysctl kern.polling.enable=0 has been phased out. Simply run ifconfig interface polling or ifconfig interface -polling. Ticket #124
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index b8fd5d4..299a447 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -217,10 +217,9 @@ function enable_hardware_offloading($interface) { if(interface_supports_polling($interface)) { $polling = isset($config['system']['polling']); if($polling) { - mwexec("sysctl kern.polling.enable=1"); mwexec("/sbin/ifconfig {$interface} polling 2>/dev/null"); } else { - mwexec("sysctl kern.polling.enable=0"); + mwexec("/sbin/ifconfig {$interface} -polling 2>/dev/null"); } } return; |