diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-10-07 17:31:16 -0700 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-10-07 17:31:16 -0700 |
commit | 06cf3bb0dd17d7ca257a9a92245e1c31d40e0d06 (patch) | |
tree | 38c286e575722feb1d893bbcedaadbfedb526480 /templates | |
parent | f4ef45aaa48110a71cc930a9f9094c09d2915cac (diff) | |
download | vyatta-cfg-vpn-06cf3bb0dd17d7ca257a9a92245e1c31d40e0d06.tar.gz vyatta-cfg-vpn-06cf3bb0dd17d7ca257a9a92245e1c31d40e0d06.zip |
Part of fix for bug 3762 Update help and error strings for vpn pre-shared secret value
- help and error string updated
Diffstat (limited to 'templates')
-rw-r--r-- | templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def index f57be11..0678ae5 100644 --- a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def +++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def @@ -1,3 +1,19 @@ help: Set pre-shared secret key type: txt -syntax:expression: pattern $VAR(@) "^[-\&\!\@\#\$\%\^\*\(\)\,\.\:_a-zA-Z0-9]+$" ; "invalid pre-shared secret key \"$VAR(@)\"" +syntax:expression: pattern $VAR(@) "^[-\&\!\@\#\$\%\^\*\(\)\,\.\:_a-zA-Z0-9]+$" ; "invalid pre-shared secret key \"$VAR(@)\" + +Only these characters are allowed to be used for setting pre-shared secret key : + alphanumeric characters a-z A-Z 0-9 + special characters - & ! @ # $ % ^ * ( ) , . : _ + +Use of single quotes to set pre-shared secret key is recommended. +Example usage : 'aA1-&!@,.:_2Bb' +" + +comp_help: +These characters are allowed to be used for setting pre-shared secret key : + alphanumeric characters a-z A-Z 0-9 + special characters - & ! @ # $ %% ^ * ( ) , . : _ + +Use of single quotes to set pre-shared secret key is recommended. +Example usage : 'aA1-&!@,.:_2Bb' |