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
committerChristian Breunig <christian@breunig.cc>2024-01-03 17:22:59 +0100
commit82b4b2db8fda51df172210f470e5825b91e81de4 (patch)
treec990896cebda663490052035d2fe379e6f02fb29 /interface-definitions/service_dhcpv6-server.xml.in
parentc08fea7a5d98e1626788280ac51f7131f3f29308 (diff)
downloadvyos-1x-82b4b2db8fda51df172210f470e5825b91e81de4.tar.gz
vyos-1x-82b4b2db8fda51df172210f470e5825b91e81de4.zip
xml: T5738: add constraint building block with alphanumeric, hypen, underscore and dot
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 102c164a6..6f7f3c1da 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>
@@ -185,7 +185,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>
@@ -207,7 +207,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>