diff options
author | Chris Buechler <cmb@cmbmbp.buechler.local> | 2012-09-09 20:55:15 -0500 |
---|---|---|
committer | Chris Buechler <cmb@cmbmbp.buechler.local> | 2012-09-09 20:55:15 -0500 |
commit | 18be4037b5c648fbde4afe4bbfe259b89319c2ce (patch) | |
tree | 359a4b666978e97a4930b0165f5b8a7e341cd4a2 /usr/local/www | |
parent | c184fa273f8f575266addc38f838a31b763d3d1d (diff) | |
download | pfsense-18be4037b5c648fbde4afe4bbfe259b89319c2ce.zip pfsense-18be4037b5c648fbde4afe4bbfe259b89319c2ce.tar.gz |
remove bunk input validation
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 3 |
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."); |