summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-11-20 00:37:04 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-11-20 00:37:04 +0000
commit7921387118aade43a290fab83a9f833ccc2b31de (patch)
tree8975a3c0044d901d86946d888a1196c1e90685f0 /etc
parent1753ce079589e4d97f603c095a5d94044ed8cea1 (diff)
downloadpfsense-7921387118aade43a290fab83a9f833ccc2b31de.zip
pfsense-7921387118aade43a290fab83a9f833ccc2b31de.tar.gz
Implement borrow ALTQ option
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index d1c95c9..aa090be 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -150,6 +150,8 @@ function filter_generate_altq_queues() {
$altq_rules .= "priority " . $rule['priority'] . " ";
if(isset($rule['options']['red']) and $rule['options']['red'] <> "")
$options .= " red";
+ if(isset($rule['options']['borrow']) and $rule['options']['borrow'] <> "")
+ $options .= " borrow";
if(isset($rule['options']['ecn']) and $rule['options']['ecn'] <> "")
$options .= " ecn";
if(isset($rule['options']['defaultqueue']) and $rule['options']['defaultqueue'] <> "")
OpenPOWER on IntegriCloud