summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_shaper_queues.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-03-27 20:01:58 +0000
committerErmal Luçi <eri@pfsense.org>2008-03-27 20:01:58 +0000
commit63502467e908ea3a205449e1717934bfeeb80799 (patch)
tree00747720ad480a90e36f108cbc58a489028218d3 /usr/local/www/firewall_shaper_queues.php
parentbdb0d47937ae498ad64702bca946a0f8ae03a59e (diff)
downloadpfsense-63502467e908ea3a205449e1717934bfeeb80799.zip
pfsense-63502467e908ea3a205449e1717934bfeeb80799.tar.gz
Fix the cloning of active interfaces.
Diffstat (limited to 'usr/local/www/firewall_shaper_queues.php')
-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