diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2011-02-12 01:31:32 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2011-02-12 01:31:32 -0500 |
commit | ac5eb23ba8f9005a2e76015e6f9e41a437127e14 (patch) | |
tree | 36861f5f5df7c664df196dad11810e63bfc1ae92 /usr/local/www/firewall_rules_edit.php | |
parent | d610946897da3d693ae4b372ce2edf0545d29daf (diff) | |
parent | b3205cc39e7b418eebbe5e97dc85261c1c2caf09 (diff) | |
download | pfsense-ac5eb23ba8f9005a2e76015e6f9e41a437127e14.zip pfsense-ac5eb23ba8f9005a2e76015e6f9e41a437127e14.tar.gz |
Catch up
Diffstat (limited to 'usr/local/www/firewall_rules_edit.php')
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index 38f256e..d213377 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -199,6 +199,9 @@ if ($_POST) { 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."); + if (($_POST['proto'] != "tcp") && ($_POST['proto'] != "udp") && ($_POST['proto'] != "tcp/udp")) { $_POST['srcbeginport'] = 0; $_POST['srcendport'] = 0; @@ -609,6 +612,9 @@ include("head.inc"); <?=htmlspecialchars($type);?> </option> <?php endforeach; ?> +<?php if ($if == "FloatingRules" || isset($pconfig['floating'])): ?> + <option value="match" <?php if ("match" == strtolower($pconfig['type'])) echo "selected"; ?>>Queue</option> +<?php endif; ?> </select> <br/> <span class="vexpl"> |