From f40980ad694b9814261cbaef239a85256d20e9f7 Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 20 Apr 2010 21:53:49 +0000 Subject: Fix creation of pipe/queue aka limiters. --- etc/inc/shaper.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/inc') diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index 313d868..b24355a 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -2865,7 +2865,7 @@ class dnpipe_class extends dummynet_class { if ($this->GetEnabled() == "") return; - $pfq_rule = "\npipe ". $this->GetNumber(); + $pfq_rule = "\npipe ". $this->GetNumber() . " config "; if ($this->GetBandwidth() && $this->GetBwscale()) $pfq_rule .= " bw ".trim($this->GetBandwidth()).$this->GetBwscale(); if ($this->GetQlimit()) @@ -3115,7 +3115,7 @@ class dnqueue_class extends dummynet_class { return; $parent =& $this->GetParent(); - $pfq_rule = "queue ". $this->GetNumber() . " dnpipe " . $parent->GetNumber(); + $pfq_rule = "queue ". $this->GetNumber() . " config pipe " . $parent->GetNumber(); if ($this->GetQlimit()) $pfq_rule .= " queue " . $this->GetQimit(); if ($this->GetWeight()) -- cgit v1.1