summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-06 14:10:33 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-06 14:10:33 -0800
commit8ed8df0993705bd51aa3167dd364bd40cfc6fc68 (patch)
tree062b588671ae89ab7da3c8e94c575714a6aa39f8 /templates
parente956fa4071b05e427b260ee3332ac06afc91dde4 (diff)
downloadvyatta-cfg-qos-8ed8df0993705bd51aa3167dd364bd40cfc6fc68.tar.gz
vyatta-cfg-qos-8ed8df0993705bd51aa3167dd364bd40cfc6fc68.zip
fix problems with percent sign in comp_help
comp_help is displayed via printf so % must be doubled. Fixes: https://bugzilla.vyatta.com/show_bug.cgi?id=2762
Diffstat (limited to 'templates')
-rw-r--r--templates/qos-policy/traffic-shaper/node.tag/class/node.tag/bandwidth/node.def2
-rw-r--r--templates/qos-policy/traffic-shaper/node.tag/class/node.tag/ceiling/node.def2
-rw-r--r--templates/qos-policy/traffic-shaper/node.tag/default/bandwidth/node.def2
-rw-r--r--templates/qos-policy/traffic-shaper/node.tag/default/ceiling/node.def2
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/bandwidth/node.def b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/bandwidth/node.def
index 839cb0f..0842f6d 100644
--- a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/bandwidth/node.def
+++ b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/bandwidth/node.def
@@ -5,7 +5,7 @@ syntax:expression: exec "[[ \"$VAR(@)\" =~ '^[0-9]+(\.[0-9]*)?%$' ]] || \
/opt/vyatta/sbin/vyatta-qos-util.pl --rate \"$VAR(@)\""
comp_help: Allowed values:
<number> Bandwidth in Kbps
- <number>% Percentage of overall rate (default 100%)
+ <number>%% Percentage of overall rate (default 100%%)
<number><suffix> Value with scaling suffix
bits per sec (kbit, mbit, gbit)
bytes per sec (kbps, mbps, gbps)
diff --git a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/ceiling/node.def b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/ceiling/node.def
index 65909d0..4373eac 100644
--- a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/ceiling/node.def
+++ b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/ceiling/node.def
@@ -4,6 +4,6 @@ syntax:expression: exec "[[ \"$VAR(@)\" =~ '^[0-9]+(\.[0-9]*)?%$' ]] || \
/opt/vyatta/sbin/vyatta-qos-util.pl --rate \"$VAR(@)\""
comp_help: Allowed values:
<number> Limit in Kbps
- <number>% Percentage of overall rate (default 100%)
+ <number>%% Percentage of overall rate
<number><suffix> Value with scaling suffix
bits per sec (kbit, mbit, gbit)
diff --git a/templates/qos-policy/traffic-shaper/node.tag/default/bandwidth/node.def b/templates/qos-policy/traffic-shaper/node.tag/default/bandwidth/node.def
index d728aa1..f3e3b53 100644
--- a/templates/qos-policy/traffic-shaper/node.tag/default/bandwidth/node.def
+++ b/templates/qos-policy/traffic-shaper/node.tag/default/bandwidth/node.def
@@ -4,7 +4,7 @@ syntax:expression: exec "[[ \"$VAR(@)\" =~ '^[0-9]+(\.[0-9]*)?%$' ]] || \
/opt/vyatta/sbin/vyatta-qos-util.pl --rate \"$VAR(@)\""
comp_help: Allowed values:
<number> Bandwidth in Kbps per second
- <number>% Percentage of overall rate
+ <number>%% Percentage of overall rate
<number><suffix> Value with scaling suffix
bits per sec (kbit, mbit, gbit)
bytes per sec (kbps, mbps, gbps)
diff --git a/templates/qos-policy/traffic-shaper/node.tag/default/ceiling/node.def b/templates/qos-policy/traffic-shaper/node.tag/default/ceiling/node.def
index 4b8bb3f..3176111 100644
--- a/templates/qos-policy/traffic-shaper/node.tag/default/ceiling/node.def
+++ b/templates/qos-policy/traffic-shaper/node.tag/default/ceiling/node.def
@@ -5,6 +5,6 @@ syntax:expression: exec "[[ \"$VAR(@)\" =~ '^[0-9]+(\.[0-9]*)?%$' ]] || \
/opt/vyatta/sbin/vyatta-qos-util.pl --rate \"$VAR(@)\""
comp_help: Allowed values:
<number> Limit in Kbps
- <number>% Percentage of overall rate (default 100%)
+ <number>%% Percentage of overall rate (default 100%%)
<number><suffix> Value with scaling suffix
bits per sec (kbit, mbit, gbit)