summaryrefslogtreecommitdiff
path: root/templates/traffic-policy/network-emulator
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-13 14:26:58 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-13 14:26:58 -0700
commita5c9214ec6b46d6a936303dcdce44ccf2ad83f8c (patch)
treec06ba97fc8a6aa7ccfdab84aa19f2e568f9aa790 /templates/traffic-policy/network-emulator
parentc889f2bbad0c9585d7525a1b5d6b0d7c707142fc (diff)
downloadvyatta-cfg-qos-a5c9214ec6b46d6a936303dcdce44ccf2ad83f8c.tar.gz
vyatta-cfg-qos-a5c9214ec6b46d6a936303dcdce44ccf2ad83f8c.zip
Require queue limit to be greater than zero
Since queue limit of zero causes all packets to be dropped; require user to configure a reasonable value Bug 5842
Diffstat (limited to 'templates/traffic-policy/network-emulator')
-rw-r--r--templates/traffic-policy/network-emulator/node.tag/queue-limit/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/traffic-policy/network-emulator/node.tag/queue-limit/node.def b/templates/traffic-policy/network-emulator/node.tag/queue-limit/node.def
index 49c47b4..d86b23d 100644
--- a/templates/traffic-policy/network-emulator/node.tag/queue-limit/node.def
+++ b/templates/traffic-policy/network-emulator/node.tag/queue-limit/node.def
@@ -1,2 +1,3 @@
type: u32
help: Set maximum queue size (packets)
+syntax:expression: $VAR(@) > 0; "Queue limit must be greater than zero"