summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-12-14 23:03:59 +0000
committerErmal <eri@pfsense.org>2010-12-14 23:03:59 +0000
commit622bd5e78b465c2bd981e4355de46946fd84d75e (patch)
tree55ac95ea6232131b6a9819e0818f91f3516cc4e4 /usr
parent1d164dd444cb1af57e0adef0b0bf46be263dcf41 (diff)
downloadpfsense-622bd5e78b465c2bd981e4355de46946fd84d75e.zip
pfsense-622bd5e78b465c2bd981e4355de46946fd84d75e.tar.gz
Ticket #1043. Check for '' and not for 'default' since this is the default value of the select.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_rules_edit.php2
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 1c6c3f0..019862f 100755
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -364,7 +364,7 @@ if ($_POST) {
}
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 (isset($_POST['floating']) && $_POST['gateway'] != "default" && (empty($_POST['direction']) || $_POST['direction'] == "any"))
+ if (isset($_POST['floating']) && $_POST['gateway'] != "" && (empty($_POST['direction']) || $_POST['direction'] == "any"))
$input_errors[] = gettext("You can not use gateways in Floating rules without choosing a direction.");
if ($_POST['pdnpipe'] && $_POST['pdnpipe'] != "none") {
if ($_POST['dnpipe'] == "none" )
OpenPOWER on IntegriCloud