From bda4784c4831980d06d6ded08268cd590a6bfa0e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 5 Oct 2020 19:17:51 +0200 Subject: dhcp(v6)-server: T2961: use fqdn validator wnd move to include snipped Migrate the domain-search node (which occurs three times) to an includable snippet. Also re-use the fqdn validator to keep the regex patterns to as few locations as possible. --- interface-definitions/dhcpv6-server.xml.in | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'interface-definitions/dhcpv6-server.xml.in') diff --git a/interface-definitions/dhcpv6-server.xml.in b/interface-definitions/dhcpv6-server.xml.in index acc33d40f..0b4bcf9ea 100644 --- a/interface-definitions/dhcpv6-server.xml.in +++ b/interface-definitions/dhcpv6-server.xml.in @@ -60,16 +60,7 @@ - - - Domain name for client to search - - [-_a-zA-Z0-9.]+ - - Invalid domain name. May only contain letters, numbers and .-_ - - - + #include IPv6 address of a Recursive DNS Server @@ -150,16 +141,7 @@ - - - Domain name for client to search - - [-_a-zA-Z0-9.]+ - - Invalid domain name. May only contain letters, numbers and .-_ - - - + #include Parameters relating to the lease time -- cgit v1.2.3