diff options
author | Richard Connon <conan@irconan.co.uk> | 2013-09-28 13:12:35 +0100 |
---|---|---|
committer | Richard Connon <conan@irconan.co.uk> | 2013-09-28 13:12:35 +0100 |
commit | 9f6919e618715d15513bd6265216f7be6c0bc4a1 (patch) | |
tree | 7ecd2bb719965b03f04a0ce9d90e447dd91bb46b /etc/inc | |
parent | c27edf5559a35757d38c1c5f10fdf69254fcbe11 (diff) | |
download | pfsense-9f6919e618715d15513bd6265216f7be6c0bc4a1.zip pfsense-9f6919e618715d15513bd6265216f7be6c0bc4a1.tar.gz |
Fix codel not being applied on non-priq queue types
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/shaper.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index c2717ad..5c36ffe 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']); |