summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-08 22:15:35 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-08 22:15:35 +0000
commit5e2dee076a598c1b51edc0041c9c3a494f482a02 (patch)
treeb964752a64719919fd6136445f4fb1bbf8290c3c /usr
parent480d71dc6b0d7427566c5abf6bd41b2e5d9e6ff7 (diff)
downloadpfsense-5e2dee076a598c1b51edc0041c9c3a494f482a02.zip
pfsense-5e2dee076a598c1b51edc0041c9c3a494f482a02.tar.gz
Correct the logic that decides if a queue is a parent.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_shaper_queues_edit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/firewall_shaper_queues_edit.php b/usr/local/www/firewall_shaper_queues_edit.php
index 024d9a7..06514e8 100755
--- a/usr/local/www/firewall_shaper_queues_edit.php
+++ b/usr/local/www/firewall_shaper_queues_edit.php
@@ -255,16 +255,16 @@ if ($_POST) {
<td width="78%" class="vtable">
<select id="childqueue" name="childqueue">
<?php
- if(isset($pconfig['shaper']['childqueue']))
+ if(is_subqueue($config['shaper']['queue']))
echo "<option value=\"" . $pconfig['shaper']['childqueue'] . "\">" . $pconfig['shaper']['childqueue'] . "</option>";
else
echo "<option value=\"\"></option>";
- if (is_array($config['shaper']['queue'])) {
+ if (is_array($config['shaper']['queue'])) {
foreach ($config['shaper']['queue'] as $queue) {
- if(is_subqueue($queue['name']) == 1)
+ if($queue['parentqueue'] <> "")
echo "<option value=\"" . $queue['name'] . "\">" . $queue['name'] . "</option>";
}
- }
+ }
?>
</select>
</td>
OpenPOWER on IntegriCloud