diff options
author | Renato Botelho <renato@netgate.com> | 2016-12-20 14:55:29 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-12-20 14:56:30 -0200 |
commit | dc5edc6e9840a53e6c7153414c1d0e1066efd058 (patch) | |
tree | 90442b54654581e32d7fed01930707d4a0f6f683 /src/usr/local/www/system_advanced_network.php | |
parent | ca86de0494946b38c85ff8747b4542049b602e5b (diff) | |
download | pfsense-dc5edc6e9840a53e6c7153414c1d0e1066efd058.zip pfsense-dc5edc6e9840a53e6c7153414c1d0e1066efd058.tar.gz |
Fix #7021: Deprecate device polling
Diffstat (limited to 'src/usr/local/www/system_advanced_network.php')
-rw-r--r-- | src/usr/local/www/system_advanced_network.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/usr/local/www/system_advanced_network.php b/src/usr/local/www/system_advanced_network.php index bf0b715..06a4e2d 100644 --- a/src/usr/local/www/system_advanced_network.php +++ b/src/usr/local/www/system_advanced_network.php @@ -41,7 +41,6 @@ $pconfig['ipv6nat_enable'] = isset($config['diag']['ipv6nat']['enable']); $pconfig['ipv6nat_ipaddr'] = $config['diag']['ipv6nat']['ipaddr']; $pconfig['ipv6allow'] = isset($config['system']['ipv6allow']); $pconfig['prefer_ipv4'] = isset($config['system']['prefer_ipv4']); -$pconfig['polling_enable'] = isset($config['system']['polling']); $pconfig['sharednet'] = $config['system']['sharednet']; $pconfig['disablechecksumoffloading'] = isset($config['system']['disablechecksumoffloading']); $pconfig['disablesegmentationoffloading'] = isset($config['system']['disablesegmentationoffloading']); @@ -92,14 +91,6 @@ if ($_POST) { system_enable_arp_wrong_if(); } - if ($_POST['polling_enable'] == "yes") { - $config['system']['polling'] = true; - setup_polling(); - } else { - unset($config['system']['polling']); - setup_polling(); - } - if ($_POST['disablechecksumoffloading'] == "yes") { $config['system']['disablechecksumoffloading'] = true; } else { @@ -199,18 +190,6 @@ $form->add($section); $section = new Form_Section('Network Interfaces'); $section->addInput(new Form_Checkbox( - 'polling_enable', - 'Device polling', - 'Enable device polling', - $pconfig['polling_enable'] -))->setHelp('Device polling is a technique that lets the system periodically poll '. - 'network devices for new data instead of relying on interrupts. This prevents '. - 'the webConfigurator, SSH, etc. from being inaccessible due to interrupt floods '. - 'when under extreme load. Generally this is not recommended. Not all NICs support '. - 'polling; see the %s homepage for a list of supported cards.', [$g["product_name"]]); - - -$section->addInput(new Form_Checkbox( 'disablechecksumoffloading', 'Hardware Checksum Offloading', 'Disable hardware checksum offload', |