From 63502467e908ea3a205449e1717934bfeeb80799 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=C3=A7i?= Date: Thu, 27 Mar 2008 20:01:58 +0000 Subject: Fix the cloning of active interfaces. --- usr/local/www/firewall_shaper_queues.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'usr/local') 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) -- cgit v1.1