summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-19 17:31:07 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-19 17:31:07 +0000
commitfa9af16466e6885827191bdc7f66e1ee7523f2f4 (patch)
tree194388e506cd2bdcf518d3064e316dc0396114cd /usr
parent4075d9c10f6bdf19e416d0e33860ff9b0f9c619f (diff)
downloadpfsense-fa9af16466e6885827191bdc7f66e1ee7523f2f4.zip
pfsense-fa9af16466e6885827191bdc7f66e1ee7523f2f4.tar.gz
Be sure to save and restore state values.
Submitted-by: Bill Marquette <bill.marquette_AT_gmail.com>
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_rules_edit.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php
index 662ccb9..a4671f8 100755
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -149,6 +149,9 @@ if (isset($id) && $a_filter[$id]) {
$pconfig['log'] = isset($a_filter[$id]['log']);
$pconfig['frags'] = isset($a_filter[$id]['frags']);
$pconfig['descr'] = $a_filter[$id]['descr'];
+ $pconfig['max-src-nodes'] = $a_filter[$id]['max-src-nodes'];
+ $pconfig['max-src-states'] = $a_filter[$id]['max-src-states'];
+ $pconfig['statetype'] = $a_filter[$id]['statetype'];
$pconfig['statetimeout'] = $a_filter[$id]['statetimeout'];
} else {
@@ -301,6 +304,7 @@ if ($_POST) {
$filterent['max-src-nodes'] = $_POST['max-src-nodes'];
$filterent['max-src-states'] = $_POST['max-src-states'];
$filterent['statetimeout'] = $_POST['statetimeout'];
+ $filterent['statetype'] = $_POST['statetype'];
if ($_POST['proto'] != "any")
$filterent['protocol'] = $_POST['proto'];
OpenPOWER on IntegriCloud