summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-09-30 15:16:53 +0200
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-09-30 15:16:53 +0200
commitcd75a9966320ea25402af8afb84fcb44591e1857 (patch)
treede4e1c6186076d643a19d53c2182aa470f00dd46 /templates
parentc5212b8510ecb480f759ccf3c81184c57c2d6426 (diff)
downloadvyatta-cfg-qos-cd75a9966320ea25402af8afb84fcb44591e1857.tar.gz
vyatta-cfg-qos-cd75a9966320ea25402af8afb84fcb44591e1857.zip
fair-queue: validate policy on update
Need to check validity on update, not just create
Diffstat (limited to 'templates')
-rw-r--r--templates/qos-policy/fair-queue/node.def3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/qos-policy/fair-queue/node.def b/templates/qos-policy/fair-queue/node.def
index 306bdf9..aee9aa3 100644
--- a/templates/qos-policy/fair-queue/node.def
+++ b/templates/qos-policy/fair-queue/node.def
@@ -3,6 +3,5 @@ type: txt
help: Set fair queueing policy
syntax:expression: pattern $VAR(@) "^[[:alnum:]][-_[:alnum:]]*$"
; "only alpha-numeric policy name allowed"
-create: /opt/vyatta/sbin/vyatta-qos.pl --create-policy "$VAR(.)" "$VAR(@)"
+update: /opt/vyatta/sbin/vyatta-qos.pl --create-policy "$VAR(.)" "$VAR(@)"
delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-policy "$VAR(@)"
-update: /opt/vyatta/sbin/vyatta-qos.pl --update-policy "$VAR(.)" "$VAR(@)"