Project

General

Profile

« Previous | Next » 

Revision f40980ad

Added by Ermal LUÇI over 15 years ago

Fix creation of pipe/queue aka limiters.

View differences:

etc/inc/shaper.inc
2865 2865
		if ($this->GetEnabled() == "")
2866 2866
			return;
2867 2867

  
2868
       		$pfq_rule = "\npipe ". $this->GetNumber();
2868
       		$pfq_rule = "\npipe ". $this->GetNumber() . " config ";
2869 2869
		if ($this->GetBandwidth() && $this->GetBwscale())
2870 2870
                    	$pfq_rule .= " bw ".trim($this->GetBandwidth()).$this->GetBwscale();
2871 2871
		if ($this->GetQlimit())
......
3115 3115
			return; 
3116 3116

  
3117 3117
		$parent =& $this->GetParent();
3118
            	$pfq_rule = "queue ". $this->GetNumber() . " dnpipe " . $parent->GetNumber();
3118
            	$pfq_rule = "queue ". $this->GetNumber() . " config pipe " . $parent->GetNumber();
3119 3119
		if ($this->GetQlimit())
3120 3120
                    	$pfq_rule .= " queue " . $this->GetQimit();
3121 3121
		if ($this->GetWeight())

Also available in: Unified diff