summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-04-20 21:53:49 +0000
committerErmal <eri@pfsense.org>2010-04-20 21:53:49 +0000
commitf40980ad694b9814261cbaef239a85256d20e9f7 (patch)
treefaa14e4409a6746f2efc9b6426e31d7a52e8f27e
parent0852838c4153b0a20e26b5c48ad817d2c0010afd (diff)
downloadpfsense-f40980ad694b9814261cbaef239a85256d20e9f7.zip
pfsense-f40980ad694b9814261cbaef239a85256d20e9f7.tar.gz
Fix creation of pipe/queue aka limiters.
-rw-r--r--etc/inc/shaper.inc4
1 files changed, 2 insertions, 2 deletions
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())
OpenPOWER on IntegriCloud