diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-12-26 19:30:46 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-12-26 19:30:48 +0100 |
commit | e71592e0f8e6139ce6aebac005c1426c87bd1149 (patch) | |
tree | 9f437c7ca0f745371f8937cf0ce233fd23ef368a /interface-definitions/l2tp-server.xml.in | |
parent | 8532f668f70c3c0c3f3a6dc5d6cddcd73b7023e1 (diff) | |
download | vyos-1x-e71592e0f8e6139ce6aebac005c1426c87bd1149.tar.gz vyos-1x-e71592e0f8e6139ce6aebac005c1426c87bd1149.zip |
xml: remove leading carrot (^) from regex syntax
... as the carrot is applied automatically when reading in the XML
definition. Auto replaced by:
$ find interface-definitions -type f | xargs sed -i 's/regex>^/regex>/'
Diffstat (limited to 'interface-definitions/l2tp-server.xml.in')
-rw-r--r-- | interface-definitions/l2tp-server.xml.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/interface-definitions/l2tp-server.xml.in b/interface-definitions/l2tp-server.xml.in index 4e3a49b24..98c17b8b2 100644 --- a/interface-definitions/l2tp-server.xml.in +++ b/interface-definitions/l2tp-server.xml.in @@ -120,7 +120,7 @@ <description>Use X.509 certificate for IPsec authentication</description> </valueHelp> <constraint> - <regex>^(pre-shared-secret|x509)</regex> + <regex>(pre-shared-secret|x509)</regex> </constraint> <completionHelp> <list>pre-shared-secret x509</list> @@ -342,7 +342,7 @@ <description>Require the peer to authenticate itself using MS-CHAPv2 [Microsoft Challenge Handshake Authentication Protocol, Version 2].</description> </valueHelp> <constraint> - <regex>^(pap|chap|mschap|mschap-v2)</regex> + <regex>(pap|chap|mschap|mschap-v2)</regex> </constraint> <completionHelp> <list>pap chap mschap mschap-v2</list> @@ -366,7 +366,7 @@ <description>ask client for mppe, if it rejects drop connection</description> </valueHelp> <constraint> - <regex>^(deny|prefer|require)</regex> + <regex>(deny|prefer|require)</regex> </constraint> <completionHelp> <list>deny prefer require</list> @@ -385,7 +385,7 @@ <description>Use a RADIUS server to autenticate users</description> </valueHelp> <constraint> - <regex>^(local|radius)</regex> + <regex>(local|radius)</regex> </constraint> <completionHelp> <list>local radius</list> |