From f1beeba5d18d28af460fb56458539799511223b1 Mon Sep 17 00:00:00 2001 From: lgcosta Date: Tue, 22 Feb 2011 10:30:37 -0300 Subject: Add Global reply-to disable checkbox, resolves the issue #1137 --- usr/local/www/system_advanced_firewall.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'usr/local') diff --git a/usr/local/www/system_advanced_firewall.php b/usr/local/www/system_advanced_firewall.php index 38d12c1..34bf11d 100644 --- a/usr/local/www/system_advanced_firewall.php +++ b/usr/local/www/system_advanced_firewall.php @@ -56,6 +56,7 @@ $pconfig['tcpidletimeout'] = $config['filter']['tcpidletimeout']; $pconfig['optimization'] = $config['filter']['optimization']; $pconfig['maximumstates'] = $config['system']['maximumstates']; $pconfig['maximumtableentries'] = $config['system']['maximumtableentries']; +$pconfig['disablereplyto'] = isset($config['system']['disablereplyto']); $pconfig['disablenatreflection'] = $config['system']['disablenatreflection']; if (!isset($config['system']['enablebinatreflection'])) $pconfig['disablebinatreflection'] = "yes"; @@ -124,6 +125,11 @@ if ($_POST) { else $config['system']['enablebinatreflection'] = "yes"; + if($_POST['disablereplyto'] == "yes") + $config['system']['disablereplyto'] = $_POST['disablereplyto']; + else + unset($config['system']['disablereplyto']); + if($_POST['enablenatreflectionhelper'] == "yes") $config['system']['enablenatreflectionhelper'] = "yes"; else @@ -361,6 +367,17 @@ function update_description(itemnum) { + + Disable reply-to + + /> + +
+ +
+ + -- cgit v1.1