summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@cmbmbp.buechler.local>2012-09-09 20:55:15 -0500
committerChris Buechler <cmb@cmbmbp.buechler.local>2012-09-09 20:55:15 -0500
commit18be4037b5c648fbde4afe4bbfe259b89319c2ce (patch)
tree359a4b666978e97a4930b0165f5b8a7e341cd4a2 /usr/local/www/firewall_rules_edit.php
parentc184fa273f8f575266addc38f838a31b763d3d1d (diff)
downloadpfsense-18be4037b5c648fbde4afe4bbfe259b89319c2ce.zip
pfsense-18be4037b5c648fbde4afe4bbfe259b89319c2ce.tar.gz
remove bunk input validation
Diffstat (limited to 'usr/local/www/firewall_rules_edit.php')
-rwxr-xr-xusr/local/www/firewall_rules_edit.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php
index b04a0f6..7655d56 100755
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -206,9 +206,6 @@ if ($_POST) {
$_POST['icmptype'] = $pconfig['icmptype'];
}
- if ($_POST['type'] == "reject" && $_POST['proto'] <> "tcp")
- $input_errors[] = gettext("Reject type rules only works when the protocol is set to TCP.");
-
if ($_POST['type'] == "match" && $_POST['defaultqueue'] == "none")
$input_errors[] = gettext("Queue type rules only work with queues.");
OpenPOWER on IntegriCloud