summaryrefslogtreecommitdiff
path: root/templates/interfaces/loopback
diff options
context:
space:
mode:
Diffstat (limited to 'templates/interfaces/loopback')
-rw-r--r--templates/interfaces/loopback/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def2
-rw-r--r--templates/interfaces/loopback/node.tag/ip/ospf/authentication/plaintext-password/node.def2
-rw-r--r--templates/interfaces/loopback/node.tag/ip/rip/authentication/md5/node.tag/password/node.def2
-rw-r--r--templates/interfaces/loopback/node.tag/ip/rip/authentication/plaintext-password/node.def2
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/interfaces/loopback/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/templates/interfaces/loopback/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def
index ef35f7da..fd7cc502 100644
--- a/templates/interfaces/loopback/node.tag/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def
+++ b/templates/interfaces/loopback/node.tag/ip/ospf/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/interfaces/loopback/node.tag/ip/ospf/authentication/plaintext-password/node.def b/templates/interfaces/loopback/node.tag/ip/ospf/authentication/plaintext-password/node.def
index e97a3ec8..f747c985 100644
--- a/templates/interfaces/loopback/node.tag/ip/ospf/authentication/plaintext-password/node.def
+++ b/templates/interfaces/loopback/node.tag/ip/ospf/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 ; "
diff --git a/templates/interfaces/loopback/node.tag/ip/rip/authentication/md5/node.tag/password/node.def b/templates/interfaces/loopback/node.tag/ip/rip/authentication/md5/node.tag/password/node.def
index bcebd5ab..a91f80e5 100644
--- a/templates/interfaces/loopback/node.tag/ip/rip/authentication/md5/node.tag/password/node.def
+++ b/templates/interfaces/loopback/node.tag/ip/rip/authentication/md5/node.tag/password/node.def
@@ -1,7 +1,7 @@
type: txt
help: Set authentication password
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/interfaces/loopback/node.tag/ip/rip/authentication/plaintext-password/node.def b/templates/interfaces/loopback/node.tag/ip/rip/authentication/plaintext-password/node.def
index cdc9e54b..82ec4432 100644
--- a/templates/interfaces/loopback/node.tag/ip/rip/authentication/plaintext-password/node.def
+++ b/templates/interfaces/loopback/node.tag/ip/rip/authentication/plaintext-password/node.def
@@ -1,7 +1,7 @@
type: txt
help: Plain text password
syntax:expression: exec " \
- if [ `echo -n $VAR(@) | wc -c` -gt 16 ]; then \
+ if [ `echo -n \"$VAR(@)\" | wc -c` -gt 16 ]; then \
echo Password must be 16 characters or less ; \
exit 1 ; \
fi ; "