summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2011-02-12 01:31:32 -0500
committerScott Ullrich <sullrich@pfsense.org>2011-02-12 01:31:32 -0500
commitac5eb23ba8f9005a2e76015e6f9e41a437127e14 (patch)
tree36861f5f5df7c664df196dad11810e63bfc1ae92 /usr/local/www/firewall_rules_edit.php
parentd610946897da3d693ae4b372ce2edf0545d29daf (diff)
parentb3205cc39e7b418eebbe5e97dc85261c1c2caf09 (diff)
downloadpfsense-ac5eb23ba8f9005a2e76015e6f9e41a437127e14.zip
pfsense-ac5eb23ba8f9005a2e76015e6f9e41a437127e14.tar.gz
Catch up
Diffstat (limited to 'usr/local/www/firewall_rules_edit.php')
-rwxr-xr-xusr/local/www/firewall_rules_edit.php6
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">
OpenPOWER on IntegriCloud