summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-03-03 15:25:53 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-03-03 15:25:53 -0800
commit597e327943125675d14083e910a84d3f63e30574 (patch)
treedbbd9615563a0a19e572f3e6ef02ad53d962e5b6 /templates
parentb34bfe831c52efd4634fd626d735f7ff0c81e9a5 (diff)
downloadvyatta-cfg-qos-597e327943125675d14083e910a84d3f63e30574.tar.gz
vyatta-cfg-qos-597e327943125675d14083e910a84d3f63e30574.zip
validate queue-limit syntax
1 is not a valid limit for SFQ. Bugfix: 2937
Diffstat (limited to 'templates')
-rw-r--r--templates/qos-policy/fair-queue/node.tag/queue-limit/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/qos-policy/fair-queue/node.tag/queue-limit/node.def b/templates/qos-policy/fair-queue/node.tag/queue-limit/node.def
index 4275b7b..ffc739c 100644
--- a/templates/qos-policy/fair-queue/node.tag/queue-limit/node.def
+++ b/templates/qos-policy/fair-queue/node.tag/queue-limit/node.def
@@ -1,2 +1,3 @@
type: u32
+syntax:expression: ($VAR(@) > 1) : "Queue limit must greater than 1"
help: Maximum queue size (packets)