summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRichard Connon <conan@irconan.co.uk>2013-09-28 13:12:35 +0100
committerRenato Botelho <garga@FreeBSD.org>2013-09-28 10:26:47 -0300
commitff8affb4d0ac1920e675a26b209cb8c2bc513f9c (patch)
treea6e4605dd240ce215d858b231caf8047a673c8df /etc
parent931f3890aca0a59a6142a43103791f2bd90e745c (diff)
downloadpfsense-ff8affb4d0ac1920e675a26b209cb8c2bc513f9c.zip
pfsense-ff8affb4d0ac1920e675a26b209cb8c2bc513f9c.tar.gz
Fix codel not being applied on non-priq queue types
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/shaper.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc
index 436b132..77ce7ba 100644
--- a/etc/inc/shaper.inc
+++ b/etc/inc/shaper.inc
@@ -2046,6 +2046,9 @@ class hfsc_queue extends priq_queue {
$cflink['ecn'] = trim($this->GetEcn());
if (empty($cflink['ecn']))
unset($cflink['ecn']);
+ $cflink['codel'] = trim($this->GetCodel());
+ if (empty($cflink['codel']))
+ unset($cflink['codel']);
if ($this->GetLinkshare() <> "") {
if ($this->GetL_m1() <> "") {
$cflink['linkshare1'] = $this->GetL_m1();
@@ -2465,6 +2468,9 @@ class cbq_queue extends priq_queue {
$cflink['ecn'] = trim($this->GetEcn());
if (empty($cflink['ecn']))
unset($cflink['ecn']);
+ $cflink['codel'] = trim($this->GetCodel());
+ if (empty($cflink['codel']))
+ unset($cflink['codel']);
$cflink['borrow'] = trim($this->GetBorrow());
if (empty($cflink['borrow']))
unset($cflink['borrow']);
@@ -2743,6 +2749,9 @@ class fairq_queue extends priq_queue {
$cflink['ecn'] = trim($this->GetEcn());
if (empty($cflink['ecn']))
unset($cflink['ecn']);
+ $cflink['codel'] = trim($this->GetCodel());
+ if (empty($cflink['codel']))
+ unset($cflink['codel']);
$cflink['buckets'] = trim($this->GetBuckets());
if (empty($cflink['buckets']))
unset($cflink['buckets']);
OpenPOWER on IntegriCloud