diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-05-14 20:03:39 +0000 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-05-14 20:03:39 +0000 |
commit | 27c29036030edf1861258d49ab9ef3f2a5a6dae8 (patch) | |
tree | 9474d23486bac19bb681de76c9c568d2f905c0db | |
parent | f1b74f49371e4ecaa51c5e8b65fcb99aba8ded9c (diff) | |
download | vyatta-cfg-vpn-27c29036030edf1861258d49ab9ef3f2a5a6dae8.tar.gz vyatta-cfg-vpn-27c29036030edf1861258d49ab9ef3f2a5a6dae8.zip |
Bug 3194 VPN: xml error in "show vpn ike" command output
- looks like the '&' special character is causing this behavior
- quick fix: disallowed use of '&' in pre-shared-secret for now
-rw-r--r-- | templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/pre-shared-secret/node.def | 2 |
1 files changed, 1 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 330cffe..ce19672 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,3 @@ 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(@)\"" |