From 84464c9ab0b94b9602c6ec62502dc4ad3e7a8c0a Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 27 Nov 2012 07:50:20 +0000 Subject: Fixes #1575. Allow Match option to be used with limiters as well. The support is there in kernel so allow rules to be configured on this. --- usr/local/www/firewall_rules_edit.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'usr') diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index 383f5b6..c88c57c 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'] == "match" && $_POST['defaultqueue'] == "none") - $input_errors[] = gettext("Queue type rules only work with queues."); - if (($_POST['ipprotocol'] <> "") && ($_POST['gateway'] <> "")) { $a_gatewaygroups = return_gateway_groups_array(); if(is_array($config['gateways']['gateway_group'])) { @@ -698,7 +695,7 @@ include("head.inc"); - +
-- cgit v1.1