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_pppoe-server.xml.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'interface-definitions/service_pppoe-server.xml.in') diff --git a/interface-definitions/service_pppoe-server.xml.in b/interface-definitions/service_pppoe-server.xml.in index 1d3e8ba29..dc8af67af 100644 --- a/interface-definitions/service_pppoe-server.xml.in +++ b/interface-definitions/service_pppoe-server.xml.in @@ -38,7 +38,7 @@ ifname ifname:mac - (ifname|ifname:mac) + ^(ifname|ifname:mac)$ Invalid Called-Station-Id format @@ -168,7 +168,7 @@ IPv4 (IPCP) negotiation algorithm - (deny|allow|prefer|require) + ^(deny|allow|prefer|require)$ invalid value @@ -196,7 +196,7 @@ IPv6 (IPCP6) negotiation algorithm - (deny|allow|prefer|require) + ^(deny|allow|prefer|require)$ invalid value -- cgit v1.2.3