summaryrefslogtreecommitdiff
path: root/templates/qos-policy
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-12 16:42:51 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-12 16:43:59 -0800
commitfae283702fb73bec0abee76095bb76aa0a537b9d (patch)
tree13ea14ca576ee087a54b846057c596baece1a16e /templates/qos-policy
parent20b1f2af56a7b7c96eed434f0761b6e8bae53555 (diff)
downloadvyatta-cfg-qos-fae283702fb73bec0abee76095bb76aa0a537b9d.tar.gz
vyatta-cfg-qos-fae283702fb73bec0abee76095bb76aa0a537b9d.zip
restrict class to 3...4095
Need to reserve: Class 1 for root class Class 2 for default class because dsmark needs to allocate an array and reserving 0x4000 for the default class would cause lots of extra memory wasteage.
Diffstat (limited to 'templates/qos-policy')
-rw-r--r--templates/qos-policy/traffic-shaper/node.tag/class/node.def4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/qos-policy/traffic-shaper/node.tag/class/node.def b/templates/qos-policy/traffic-shaper/node.tag/class/node.def
index 682fd6c..baebbda 100644
--- a/templates/qos-policy/traffic-shaper/node.tag/class/node.def
+++ b/templates/qos-policy/traffic-shaper/node.tag/class/node.def
@@ -1,4 +1,6 @@
tag:
type: u32
help: Configure class handle
-syntax:expression: ($VAR(@) > 1 && $VAR(@) < 65536) ; "$VAR(@) handle must be between 2 and 65535"
+syntax:expression: ($VAR(@) > 2 && $VAR(@) < 4096) ; "$VAR(@) handle must be between 3 and 4095"
+comp_help: possible completions
+ <3-4095> Class ID