summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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