diff options
Diffstat (limited to 'etc')
-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; |