From 80ecb1b7aaab47edeb355c3b74a763e940d88179 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 29 Apr 2022 19:51:50 +0200 Subject: xml: T4047: use full string match in the regex validator --- interface-definitions/vpn_l2tp.xml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'interface-definitions/vpn_l2tp.xml.in') diff --git a/interface-definitions/vpn_l2tp.xml.in b/interface-definitions/vpn_l2tp.xml.in index 9ca7b1fad..f734283e7 100644 --- a/interface-definitions/vpn_l2tp.xml.in +++ b/interface-definitions/vpn_l2tp.xml.in @@ -72,7 +72,7 @@ Use X.509 certificate for IPsec authentication - ^(pre-shared-secret|x509)$ + (pre-shared-secret|x509) pre-shared-secret x509 @@ -167,7 +167,7 @@ Require the peer to authenticate itself using MS-CHAPv2 [Microsoft Challenge Handshake Authentication Protocol, Version 2]. - ^(pap|chap|mschap|mschap-v2)$ + (pap|chap|mschap|mschap-v2) pap chap mschap mschap-v2 -- cgit v1.2.3