From af1cfebaff5e98cf0e50325863def209f965abd4 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 14 Nov 2021 20:31:00 +0100 Subject: dhcp-server: T3982: dot (.) is an allowed static-mapping character This reverts a part of commit ac682795b7d69f11076ddf022c3452e411a0fdc5. (cherry picked from commit 1353757247c027f6352000a9450b502c25c460c8) --- interface-definitions/dhcp-server.xml.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/interface-definitions/dhcp-server.xml.in b/interface-definitions/dhcp-server.xml.in index 45a629181..d1ed579e9 100644 --- a/interface-definitions/dhcp-server.xml.in +++ b/interface-definitions/dhcp-server.xml.in @@ -254,9 +254,9 @@ DHCP lease range - [-_a-zA-Z0-9.]+ + ^[-_a-zA-Z0-9.]+$ - Invalid DHCP lease range name. May only contain letters, numbers and .-_ + Invalid range name, may only be alphanumeric, dot and hyphen @@ -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 a hyphen (-)! + Invalid static mapping name, may only be alphanumeric, dot and hyphen #include -- cgit v1.2.3