summaryrefslogtreecommitdiffstats
path: root/etc/inc/shaper.inc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2014-07-08 06:46:45 -0500
committerChris Buechler <cmb@pfsense.org>2014-07-08 06:47:34 -0500
commitc9a88bbd88ab31fe0ab911b51d108e136ab9c22b (patch)
tree659286114e36cce09f8b1921f8b245e2cf8386f3 /etc/inc/shaper.inc
parent2d34e81a9f80f556fa28d3a5ef30a7a7cad5285a (diff)
downloadpfsense-c9a88bbd88ab31fe0ab911b51d108e136ab9c22b.zip
pfsense-c9a88bbd88ab31fe0ab911b51d108e136ab9c22b.tar.gz
qlimit must be included here
Diffstat (limited to 'etc/inc/shaper.inc')
-rw-r--r--etc/inc/shaper.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc
index 9146e72..7674430 100644
--- a/etc/inc/shaper.inc
+++ b/etc/inc/shaper.inc
@@ -530,6 +530,8 @@ class altq_root_queue {
$rules = " altq on " . get_real_interface($this->GetInterface());
if ($this->GetScheduler())
$rules .= " ".strtolower($this->GetScheduler());
+ if ($this->GetQlimit() > 0)
+ $rules .= " ( qlimit " . $this->GetQlimit() . " ) ";
if ($this->GetBandwidth()) {
$rules .= " bandwidth ".trim($this->GetBandwidth());
if ($this->GetBwscale())
OpenPOWER on IntegriCloud