From 85d0ae7b434a3ae9f3bd50ad7fee1fcd23b26a26 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 --- interface-definitions/service_ipoe-server.xml.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'interface-definitions/service_ipoe-server.xml.in') diff --git a/interface-definitions/service_ipoe-server.xml.in b/interface-definitions/service_ipoe-server.xml.in index d0a05aea6..7c575ba77 100644 --- a/interface-definitions/service_ipoe-server.xml.in +++ b/interface-definitions/service_ipoe-server.xml.in @@ -23,7 +23,7 @@ L2 L3 - (L2|L3) + ^(L2|L3)$ L2 @@ -42,7 +42,7 @@ shared vlan - (shared|vlan) + ^(shared|vlan)$ shared @@ -125,7 +125,7 @@ local radius noauth - (local|radius|noauth) + ^(local|radius|noauth)$ local -- cgit v1.2.3