summaryrefslogtreecommitdiff
path: root/interface-definitions/service_dhcpv6-server.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-03 17:20:13 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-01-04 06:58:41 +0000
commitdc12636770037b7ac043075e722dd3110a7364d3 (patch)
tree8b7cb3f2e73087f3957b00c253bc1f68527d9d4f /interface-definitions/service_dhcpv6-server.xml.in
parent1cc70ce273cbddb5ea9eb4148808c6c2aaf3d28f (diff)
downloadvyos-1x-dc12636770037b7ac043075e722dd3110a7364d3.tar.gz
vyos-1x-dc12636770037b7ac043075e722dd3110a7364d3.zip
xml: T5738: add constraint building block with alphanumeric, hypen, underscore and dot
(cherry picked from commit 82b4b2db8fda51df172210f470e5825b91e81de4)
Diffstat (limited to 'interface-definitions/service_dhcpv6-server.xml.in')
-rw-r--r--interface-definitions/service_dhcpv6-server.xml.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/interface-definitions/service_dhcpv6-server.xml.in b/interface-definitions/service_dhcpv6-server.xml.in
index a11699615..b838f42e0 100644
--- a/interface-definitions/service_dhcpv6-server.xml.in
+++ b/interface-definitions/service_dhcpv6-server.xml.in
@@ -34,7 +34,7 @@
<properties>
<help>DHCPv6 shared network name</help>
<constraint>
- <regex>[-_a-zA-Z0-9.]+</regex>
+ #include <include/constraint/alpha-numeric-hyphen-underscore-dot.xml.i>
</constraint>
<constraintErrorMessage>Invalid DHCPv6 shared network name. May only contain letters, numbers and .-_</constraintErrorMessage>
</properties>
@@ -176,7 +176,7 @@
<properties>
<help>NIS domain name for client to use</help>
<constraint>
- <regex>[-_a-zA-Z0-9.]+</regex>
+ #include <include/constraint/alpha-numeric-hyphen-underscore-dot.xml.i>
</constraint>
<constraintErrorMessage>Invalid NIS domain name</constraintErrorMessage>
</properties>
@@ -198,7 +198,7 @@
<properties>
<help>NIS+ domain name for client to use</help>
<constraint>
- <regex>[-_a-zA-Z0-9.]+</regex>
+ #include <include/constraint/alpha-numeric-hyphen-underscore-dot.xml.i>
</constraint>
<constraintErrorMessage>Invalid NIS+ domain name. May only contain letters, numbers and .-_</constraintErrorMessage>
</properties>