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/dhcp-server.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interface-definitions/dhcp-server.xml.in') diff --git a/interface-definitions/dhcp-server.xml.in b/interface-definitions/dhcp-server.xml.in index 28b61e92d..015500043 100644 --- a/interface-definitions/dhcp-server.xml.in +++ b/interface-definitions/dhcp-server.xml.in @@ -198,7 +198,7 @@ primary secondary - (primary|secondary) + ^(primary|secondary)$ Invalid DHCP failover peer status -- cgit v1.2.3