diff options
author | Ermal <eri@pfsense.org> | 2012-11-27 07:50:20 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-11-27 07:50:20 +0000 |
commit | 84464c9ab0b94b9602c6ec62502dc4ad3e7a8c0a (patch) | |
tree | 03fdae8838290af9601cef5e9a4228aa4cf4fd0c /usr/local/www | |
parent | f1f58a6f5e6c74b55803348ae426a9ad3618c8c8 (diff) | |
download | pfsense-84464c9ab0b94b9602c6ec62502dc4ad3e7a8c0a.zip pfsense-84464c9ab0b94b9602c6ec62502dc4ad3e7a8c0a.tar.gz |
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.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 5 |
1 files changed, 1 insertions, 4 deletions
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"); </option> <?php endforeach; ?> <?php if ($if == "FloatingRules" || isset($pconfig['floating'])): ?> - <option value="match" <?php if ("match" == strtolower($pconfig['type'])) echo "selected"; ?>>Queue</option> + <option value="match" <?php if ("match" == strtolower($pconfig['type'])) echo "selected"; ?>>Match</option> <?php endif; ?> </select> <br/> |