diff options
author | unknown <cmb@.buechler.local> | 2009-11-07 03:57:04 -0500 |
---|---|---|
committer | unknown <cmb@.buechler.local> | 2009-11-07 03:57:04 -0500 |
commit | 297ed624ca8681612027b0ac47c7b65f263068e1 (patch) | |
tree | 142bbd75050b6c1c4ca66892f988274366e8a10b /usr/local | |
parent | 093bcebcd38818d7f72f09e622f3412ddecc3c97 (diff) | |
download | pfsense-297ed624ca8681612027b0ac47c7b65f263068e1.zip pfsense-297ed624ca8681612027b0ac47c7b65f263068e1.tar.gz |
Fix "Filter rule association" "Pass" option
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_nat_edit.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php index 3e607c0..5d8a1a0 100755 --- a/usr/local/www/firewall_nat_edit.php +++ b/usr/local/www/firewall_nat_edit.php @@ -185,6 +185,9 @@ if ($_POST) { $natent['interface'] = $_POST['interface']; $natent['descr'] = $_POST['descr']; $natent['associated-filter-rule-id'] = $_POST['associated-filter-rule-id']; + + if($_POST['filter-rule-association'] = "pass") + $natent['associated-filter-rule-id'] = "pass"; if($_POST['nosync'] == "yes") $natent['nosync'] = true; |