From 18be4037b5c648fbde4afe4bbfe259b89319c2ce Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Sun, 9 Sep 2012 20:55:15 -0500 Subject: remove bunk input validation --- usr/local/www/firewall_rules_edit.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'usr/local/www/firewall_rules_edit.php') 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."); -- cgit v1.1