summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_advanced_network.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-07-31 17:32:11 -0300
committerRenato Botelho <renato@netgate.com>2017-07-31 17:32:11 -0300
commitf3d3a023c43baa82e627e5f590444365ee84806b (patch)
tree982e73c32e472eb00562b79b45eb620e089cbcf1 /src/usr/local/www/system_advanced_network.php
parent9b18dc1bc80c43a47457aa5d1ae6aaa624bf3503 (diff)
parentee7bdbe69b873544b960c159386971af42cba52d (diff)
downloadpfsense-f3d3a023c43baa82e627e5f590444365ee84806b.zip
pfsense-f3d3a023c43baa82e627e5f590444365ee84806b.tar.gz
Merge pull request #3535 from fernsehkind/Redmine1629
Diffstat (limited to 'src/usr/local/www/system_advanced_network.php')
-rw-r--r--src/usr/local/www/system_advanced_network.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/usr/local/www/system_advanced_network.php b/src/usr/local/www/system_advanced_network.php
index 5d6b3fc..d32f8ae 100644
--- a/src/usr/local/www/system_advanced_network.php
+++ b/src/usr/local/www/system_advanced_network.php
@@ -47,6 +47,7 @@ $pconfig['sharednet'] = $config['system']['sharednet'];
$pconfig['disablechecksumoffloading'] = isset($config['system']['disablechecksumoffloading']);
$pconfig['disablesegmentationoffloading'] = isset($config['system']['disablesegmentationoffloading']);
$pconfig['disablelargereceiveoffloading'] = isset($config['system']['disablelargereceiveoffloading']);
+$pconfig['ip_change_kill_states'] = isset($config['system']['ip_change_kill_states']);
if ($_POST) {
@@ -131,6 +132,12 @@ if ($_POST) {
unset($config['system']['disablelargereceiveoffloading']);
}
+ if ($_POST['ip_change_kill_states'] == "yes") {
+ $config['system']['ip_change_kill_states'] = true;
+ } else {
+ unset($config['system']['ip_change_kill_states']);
+ }
+
setup_microcode();
// Write out configuration (config.xml)
@@ -283,6 +290,14 @@ $section->addInput(new Form_Checkbox(
))->setHelp('This option will suppress ARP log messages when multiple interfaces '.
'reside on the same broadcast domain.');
+$section->addInput(new Form_Checkbox(
+ 'ip_change_kill_states',
+ 'Reset All States',
+ 'Reset all states if WAN IP Address changes',
+ isset($pconfig['ip_change_kill_states'])
+))->setHelp('This option resets all states when a WAN IP Address changes instead of only '.
+ 'states associated with the previous IP Address.');
+
if (get_freebsd_version() == 8) {
$section->addInput(new Form_Checkbox(
'flowtable',
OpenPOWER on IntegriCloud