diff options
author | Saurabh Mohan <saurabh.mohan@vyatta.com> | 2012-05-31 17:13:31 -0700 |
---|---|---|
committer | Saurabh Mohan <saurabh.mohan@vyatta.com> | 2012-05-31 17:17:11 -0700 |
commit | 2b5bc0a3906cb71ea411d52eb58a242b6c10e788 (patch) | |
tree | e2845e12b9cb3b038d8daab7d76ade631835b287 | |
parent | 5220ecbc90644d342f32429c39e9e9fe3b724404 (diff) | |
download | vyatta-cfg-vpn-2b5bc0a3906cb71ea411d52eb58a242b6c10e788.tar.gz vyatta-cfg-vpn-2b5bc0a3906cb71ea411d52eb58a242b6c10e788.zip |
Bugfix 8100: Be flexible in char accepted in id field.
-rw-r--r-- | templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/id/node.def | 2 | ||||
-rw-r--r-- | templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/remote-id/node.def | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/id/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/id/node.def index a16cd3a..a8f1df9 100644 --- a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/id/node.def +++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/id/node.def @@ -1,5 +1,5 @@ help: ID for peer authentication type: txt -syntax:expression: pattern $VAR(@) "^@[[A-Za-z_]+([A-Za-z0-9][-_A-Za-z0-9]*)*$" +syntax:expression: pattern $VAR(@) "^[[:print:]]+" ; "invalid ID \"$VAR(@)\"" val_help: @<text>; ID used for peer authentication diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/remote-id/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/remote-id/node.def index 7cc4f87..e2ba16d 100644 --- a/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/remote-id/node.def +++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/authentication/remote-id/node.def @@ -1,5 +1,5 @@ help: ID for remote authentication type: txt -syntax:expression: pattern $VAR(@) "^@[[A-Za-z_]+([A-Za-z0-9][-_A-Za-z0-9]*)*$" +syntax:expression: pattern $VAR(@) "^[[:print:]]+" ; "invalid ID \"$VAR(@)\"" val_help: @<text>; ID used for peer authentication |