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/sstp.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/sstp.xml.in')
-rw-r--r-- | interface-definitions/sstp.xml.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/sstp.xml.in b/interface-definitions/sstp.xml.in index 290b45a98..9316db6fe 100644 --- a/interface-definitions/sstp.xml.in +++ b/interface-definitions/sstp.xml.in @@ -78,7 +78,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> @@ -105,7 +105,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> |