summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2008-11-11 17:12:36 -0800
committerMohit Mehta <mohit.mehta@vyatta.com>2008-11-11 17:12:36 -0800
commit79d4d7e4e35dca088c220a033f08d9544df9e420 (patch)
treea8e24e397c359afb4c630e8d8130bce76d8ef05a /templates
parent236f2c1e00135b1158fa8057baed4e31dd51341b (diff)
downloadvyatta-cfg-vpn-79d4d7e4e35dca088c220a033f08d9544df9e420.tar.gz
vyatta-cfg-vpn-79d4d7e4e35dca088c220a033f08d9544df9e420.zip
allow '+' as a valid character in pre-shared-secret
Diffstat (limited to 'templates')
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def6
1 files changed, 3 insertions, 3 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 0678ae5..c50afd7 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,10 +1,10 @@
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 - & ! @ # $ % ^ * ( ) , . : _
+ special characters - + & ! @ # $ % ^ * ( ) , . : _
Use of single quotes to set pre-shared secret key is recommended.
Example usage : 'aA1-&!@,.:_2Bb'
@@ -13,7 +13,7 @@ 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 - & ! @ # $ %% ^ * ( ) , . : _
+ special characters - + & ! @ # $ %% ^ * ( ) , . : _
Use of single quotes to set pre-shared secret key is recommended.
Example usage : 'aA1-&!@,.:_2Bb'