From 2fe39c3f4d7408509273c9e2ac400437aba9616f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 20 Apr 2021 21:01:59 +0200 Subject: xml: T3488: when using regex one must use ^ and $ when checking string literals (cherry picked from commit 85d0ae7b434a3ae9f3bd50ad7fee1fcd23b26a26) --- interface-definitions/interfaces-l2tpv3.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interface-definitions/interfaces-l2tpv3.xml.in') diff --git a/interface-definitions/interfaces-l2tpv3.xml.in b/interface-definitions/interfaces-l2tpv3.xml.in index ba1e07740..dac99b909 100644 --- a/interface-definitions/interfaces-l2tpv3.xml.in +++ b/interface-definitions/interfaces-l2tpv3.xml.in @@ -47,7 +47,7 @@ IP encapsulation - (udp|ip) + ^(udp|ip)$ Encapsulation must be UDP or IP -- cgit v1.2.3