diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index 24aa36068f..5c36ffe39f 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -1225,7 +1225,7 @@ class priq_queue { $tmpvalue = $this->GetCodel(); if(!empty($tmpvalue)) $form .= " checked=\"checked\""; - $form .= " /> " . gettext("Codel Active Queue") . "
"; + $form .= " /> " . gettext("Codel Active Queue") . "
"; $form .= "
" . gettext("Select options for this queue"); $form .= "
"; $form .= "" . gettext("Description") . ""; @@ -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']);