diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-02-26 17:12:16 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-02-26 17:12:16 +0000 |
commit | 7af2fa41c988064eaf645d994a2f3c64aada5f2e (patch) | |
tree | c058078e274080aca63c4c3e2333f0aa98d7875b /usr/local | |
parent | bdf383adc45635b4a1764830262f0a0b2bacc9e1 (diff) | |
download | pfsense-7af2fa41c988064eaf645d994a2f3c64aada5f2e.zip pfsense-7af2fa41c988064eaf645d994a2f3c64aada5f2e.tar.gz |
Root queues do not have a meaning for default as normal queues do.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_shaper.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php index eee915d..c8ef43c 100755 --- a/usr/local/www/firewall_shaper.php +++ b/usr/local/www/firewall_shaper.php @@ -297,7 +297,8 @@ if ($queue) { $can_enable = true; else $can_enable = false; - if ($queue->CanHaveChilds() && $can_enable) { + if ($queue->CanHaveChilds() && $can_enable && + $altq->GetQname() <> $queue->GetQname()) { if ($queue->GetDefault() <> "") $can_add = false; else |