summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-11-28 14:16:11 -0500
committersullrich <sullrich@pfsense.org>2009-11-28 14:16:11 -0500
commitf69f34f1289edb93b62e35f801efdef1093c234d (patch)
treee9be1e36f48bbec85edced68a86a10ae18839a12 /etc
parent5c1f3ed27083c9ce218c7c638488dec44110d7ff (diff)
downloadpfsense-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')
-rw-r--r--etc/inc/pfsense-utils.inc3
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;
OpenPOWER on IntegriCloud