summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf
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/ospf
parent6f9e3484b4013092ce6390b53fe67f9133e2684d (diff)
downloadvyatta-cfg-quagga-505178511ac1d12e1aab6c08d6a02e983bbb0535.tar.gz
vyatta-cfg-quagga-505178511ac1d12e1aab6c08d6a02e983bbb0535.zip
Use single quotes around $VAR(@).
Diffstat (limited to 'templates/protocols/ospf')
-rw-r--r--templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.tag/md5-key/node.def2
-rw-r--r--templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/plaintext-password/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.tag/md5-key/node.def
index ef35f7da..c985099d 100644
--- a/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.tag/md5-key/node.def
+++ b/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.tag/md5-key/node.def
@@ -1,7 +1,7 @@
type: txt
help: Set MD5 key
syntax:expression: exec " \
- if [ `echo -n $VAR(@) | wc -c` -gt 16 ]; then \
+ if [ `echo -n '$VAR(@)' | wc -c` -gt 16 ]; then \
echo MD5 key must be 16 characters or less ; \
exit 1 ; \
fi ; "
diff --git a/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/plaintext-password/node.def b/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/plaintext-password/node.def
index 3d26dc01..ee36125b 100644
--- a/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/plaintext-password/node.def
+++ b/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/plaintext-password/node.def
@@ -1,7 +1,7 @@
type: txt
help: Set plain text password
syntax:expression: exec " \
- if [ `echo -n $VAR(@) | wc -c` -gt 8 ]; then \
+ if [ `echo -n '$VAR(@)' | wc -c` -gt 8 ]; then \
echo Password must be 8 characters or less ; \
exit 1 ; \
fi ; "