diff options
author | Ermal <eri@pfsense.org> | 2010-12-10 20:24:34 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-12-10 20:24:34 +0000 |
commit | 6735d0929eee41ef1cf2f253fa2a50740c066660 (patch) | |
tree | 572433c5c467afa00117f93599fa231a219191d2 /usr/local/www/firewall_rules_edit.php | |
parent | d0f980d4b94f5fb13bc8d965d966a86660370d24 (diff) | |
download | pfsense-6735d0929eee41ef1cf2f253fa2a50740c066660.zip pfsense-6735d0929eee41ef1cf2f253fa2a50740c066660.tar.gz |
Allow floating rules without direction to be created again.
Diffstat (limited to 'usr/local/www/firewall_rules_edit.php')
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index 8ef211b..9dbabc6 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -362,7 +362,7 @@ if ($_POST) { else if ($_POST['ackqueue'] == $_POST['defaultqueue']) $input_errors[] = gettext("Acknowledge queue and Queue cannot be the same."); } - if (isset($_POST['floating']) && $_POST['pdnpipe'] && (empty($_POST['direction']) || $_POST['direction'] == "any")) + if (isset($_POST['floating']) && $_POST['pdnpipe'] != "none" && (empty($_POST['direction']) || $_POST['direction'] == "any")) $input_errors[] = gettext("You can not use limiters in Floating rules without choosing a direction."); if ($_POST['pdnpipe'] && $_POST['pdnpipe'] != "none") { if ($_POST['dnpipe'] == "none" ) |