From ac682795b7d69f11076ddf022c3452e411a0fdc5 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 10 Nov 2021 19:37:46 +0100 Subject: dhcp-server: T3982: remove support for invalid characters . and + (cherry picked from commit c45e4beadf30accb1838b3bad1f21c2146469bf8) --- interface-definitions/dhcp-server.xml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 47bdc4db1..45a629181 100644 --- a/interface-definitions/dhcp-server.xml.in +++ b/interface-definitions/dhcp-server.xml.in @@ -289,9 +289,9 @@ Name of static mapping - [-_a-zA-Z0-9.]+ + ^[-_a-zA-Z0-9]+$ - Invalid static mapping name. May only contain letters, numbers and .-_ + Invalid static mapping name. May only contain letters, numbers and a hyphen (-)! #include -- cgit v1.2.3