summaryrefslogtreecommitdiff
path: root/interface-definitions/service_dhcpv6-server.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-26 14:01:52 +0200
committerGitHub <noreply@github.com>2024-05-26 14:01:52 +0200
commit4a9befb92550ae9abd5cf687208fdb09838ccc9d (patch)
treecd4c9f5546473a6868ecffa8fbee57606381c602 /interface-definitions/service_dhcpv6-server.xml.in
parent9301c507f91ea40fc0d4d86cf708a7ba6d3b0bb9 (diff)
parentccd564c2328a086b326957fdde8b07ca560bd6b2 (diff)
downloadvyos-1x-4a9befb92550ae9abd5cf687208fdb09838ccc9d.tar.gz
vyos-1x-4a9befb92550ae9abd5cf687208fdb09838ccc9d.zip
Merge pull request #3519 from c-po/dhcpv6-T3493
T3493: dhcpv6-server does not have prefix range validation
Diffstat (limited to 'interface-definitions/service_dhcpv6-server.xml.in')
-rw-r--r--interface-definitions/service_dhcpv6-server.xml.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/interface-definitions/service_dhcpv6-server.xml.in b/interface-definitions/service_dhcpv6-server.xml.in
index a64da83ae..effba3884 100644
--- a/interface-definitions/service_dhcpv6-server.xml.in
+++ b/interface-definitions/service_dhcpv6-server.xml.in
@@ -229,7 +229,8 @@
<description>IPv6 address used in prefix delegation</description>
</valueHelp>
<constraint>
- <validator name="ipv6-address"/>
+ <!-- IPv6 address used MUST end with :: -->
+ <regex>([a-fA-F0-9]{1,4}:)+:</regex>
</constraint>
</properties>
<children>
@@ -254,7 +255,8 @@
<description>IPv6 address used in prefix delegation</description>
</valueHelp>
<constraint>
- <validator name="ipv6-address"/>
+ <!-- IPv6 address used MUST end with :: -->
+ <regex>([a-fA-F0-9]{1,4}:)+:</regex>
</constraint>
</properties>
</leafNode>