summaryrefslogtreecommitdiff
path: root/interface-templates/ip/rip
diff options
context:
space:
mode:
Diffstat (limited to 'interface-templates/ip/rip')
-rw-r--r--interface-templates/ip/rip/authentication/md5/node.tag/password/node.def2
-rw-r--r--interface-templates/ip/rip/authentication/plaintext-password/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/interface-templates/ip/rip/authentication/md5/node.tag/password/node.def b/interface-templates/ip/rip/authentication/md5/node.tag/password/node.def
index 1d675b0b..723bd94a 100644
--- a/interface-templates/ip/rip/authentication/md5/node.tag/password/node.def
+++ b/interface-templates/ip/rip/authentication/md5/node.tag/password/node.def
@@ -1,6 +1,6 @@
type: txt
help: Set authentication password
-syntax:expression: pattern $VAR(@) "^[^[:space:]]{1,16}" ; "MD5 key must be 16 characters or less"
+syntax:expression: pattern $VAR(@) "^[^[:space:]]{1,16}$" ; "MD5 key must be 16 characters or less"
update:vyatta-vtysh \
-c "configure terminal" -c "interface $IFNAME" \
diff --git a/interface-templates/ip/rip/authentication/plaintext-password/node.def b/interface-templates/ip/rip/authentication/plaintext-password/node.def
index f4fefb78..595ae910 100644
--- a/interface-templates/ip/rip/authentication/plaintext-password/node.def
+++ b/interface-templates/ip/rip/authentication/plaintext-password/node.def
@@ -1,6 +1,6 @@
type: txt
help: Set plain text password
-syntax:expression: pattern $VAR(@) "^[^[:space:]{1,16}$" ; "Password must be 16 characters or less"
+syntax:expression: pattern $VAR(@) "^[^[:space:]]{1,16}$" ; "Password must be 16 characters or less"
commit:expression: $VAR(../md5/) == "" ; "md5 password already set"
update: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \