summaryrefslogtreecommitdiff
path: root/templates/protocols/bgp
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2009-02-25 14:27:14 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2009-02-25 14:27:14 -0800
commit505178511ac1d12e1aab6c08d6a02e983bbb0535 (patch)
tree90d0e85e0421014b81b8670cdf8221780092b8ae /templates/protocols/bgp
parent6f9e3484b4013092ce6390b53fe67f9133e2684d (diff)
downloadvyatta-cfg-quagga-505178511ac1d12e1aab6c08d6a02e983bbb0535.tar.gz
vyatta-cfg-quagga-505178511ac1d12e1aab6c08d6a02e983bbb0535.zip
Use single quotes around $VAR(@).
Diffstat (limited to 'templates/protocols/bgp')
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/password/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/password/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/password/node.def
index 922ff28a..8d83775a 100644
--- a/templates/protocols/bgp/node.tag/neighbor/node.tag/password/node.def
+++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/password/node.def
@@ -1,7 +1,7 @@
type: txt
help: Set BGP MD5 password
syntax:expression: exec " \
- if [ `echo $VAR(@) | wc -c` -gt 80 ]; then \
+ if [ `echo -n '$VAR(@)' | wc -c` -gt 80 ]; then \
echo Password must be 80 characters or less;\
exit 1 ; \
fi ; "