summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-04-16 15:47:19 -0500
committerChris Buechler <cmb@pfsense.org>2016-04-16 15:47:37 -0500
commite6f2d95b89fdb8352a1dc0a2ead3824a59f49f86 (patch)
treee3f2c42b0f7e1e9240d4e3d8ccad82c813b2711f /src/usr/local/www/firewall_rules_edit.php
parentce3fd2c3ff94bef051e17606915f06ff1ed7b90b (diff)
downloadpfsense-e6f2d95b89fdb8352a1dc0a2ead3824a59f49f86.zip
pfsense-e6f2d95b89fdb8352a1dc0a2ead3824a59f49f86.tar.gz
Remove redundant if check.
Diffstat (limited to 'src/usr/local/www/firewall_rules_edit.php')
-rw-r--r--src/usr/local/www/firewall_rules_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
index c630435..ee9b557 100644
--- a/src/usr/local/www/firewall_rules_edit.php
+++ b/src/usr/local/www/firewall_rules_edit.php
@@ -456,7 +456,7 @@ if ($_POST) {
if ($_POST['proto'] != "tcp") {
$input_errors[] = sprintf(gettext("%s is only valid with protocol TCP."), $_POST['statetype']);
}
- if (($_POST['statetype'] == "synproxy state") && ($_POST['gateway'] != "")) {
+ if ($_POST['gateway'] != "") {
$input_errors[] = sprintf(gettext("%s is only valid if the gateway is set to 'default'."), $_POST['statetype']);
}
}
OpenPOWER on IntegriCloud