summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_shaper_queues.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/firewall_shaper_queues.php b/usr/local/www/firewall_shaper_queues.php
index 8fea98e..225738a 100755
--- a/usr/local/www/firewall_shaper_queues.php
+++ b/usr/local/www/firewall_shaper_queues.php
@@ -78,9 +78,11 @@ if ($_GET) {
$copycfg = array();
$qtmp->copy_queue($interface, &$copycfg);
$aq =& $altq_list_queues[$interface];
- if ($aq) {
+ if ($qname == $qtmp->GetInterface()) {
+ $config['shaper']['queue'][] = $copycfg;
+ } else if ($aq) {
$tmp1 =& $qtmp->find_parentqueue($interface, $qname);
- if ($tmp1)
+ if ($tmp1)
$tmp =& $aq->find_queue($interface, $tmp1->GetQname());
if ($tmp)
OpenPOWER on IntegriCloud