Project

General

Profile

« Previous | Next » 

Revision ff8affb4

Added by Richard Connon almost 12 years ago

Fix codel not being applied on non-priq queue types

View differences:

etc/inc/shaper.inc
2046 2046
		$cflink['ecn'] = trim($this->GetEcn());
2047 2047
		if (empty($cflink['ecn']))
2048 2048
			unset($cflink['ecn']);
2049
		$cflink['codel'] = trim($this->GetCodel());
2050
		if (empty($cflink['codel']))
2051
			unset($cflink['codel']);
2049 2052
		if ($this->GetLinkshare() <> "") {
2050 2053
			if ($this->GetL_m1() <> "") {
2051 2054
				$cflink['linkshare1'] = $this->GetL_m1();
......
2465 2468
		$cflink['ecn'] = trim($this->GetEcn());
2466 2469
		if (empty($cflink['ecn']))
2467 2470
			unset($cflink['ecn']);
2471
		$cflink['codel'] = trim($this->GetCodel());
2472
		if (empty($cflink['codel']))
2473
			unset($cflink['codel']);
2468 2474
		$cflink['borrow'] = trim($this->GetBorrow());
2469 2475
		if (empty($cflink['borrow']))
2470 2476
			unset($cflink['borrow']);
......
2743 2749
		$cflink['ecn'] = trim($this->GetEcn());
2744 2750
		if (empty($cflink['ecn']))
2745 2751
			unset($cflink['ecn']);
2752
		$cflink['codel'] = trim($this->GetCodel());
2753
		if (empty($cflink['codel']))
2754
			unset($cflink['codel']);
2746 2755
		$cflink['buckets'] = trim($this->GetBuckets());
2747 2756
		if (empty($cflink['buckets']))
2748 2757
			unset($cflink['buckets']);

Also available in: Unified diff