diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-03-27 20:01:58 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-03-27 20:01:58 +0000 |
commit | 63502467e908ea3a205449e1717934bfeeb80799 (patch) | |
tree | 00747720ad480a90e36f108cbc58a489028218d3 | |
parent | bdb0d47937ae498ad64702bca946a0f8ae03a59e (diff) | |
download | pfsense-63502467e908ea3a205449e1717934bfeeb80799.zip pfsense-63502467e908ea3a205449e1717934bfeeb80799.tar.gz |
Fix the cloning of active interfaces.
-rwxr-xr-x | usr/local/www/firewall_shaper_queues.php | 6 |
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) |