Skip to content

Commit 15cad14

Browse files
authored
Merge pull request #3525 from c-po/dhcpv6-T3493-constraintGroup
dhcpv6-server: T3493: add constraintGroup for prefix-delegation start/stop address
2 parents 5cd0e32 + f5d5dfc commit 15cad14

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

interface-definitions/service_dhcpv6-server.xml.in

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,11 @@
228228
<format>ipv6</format>
229229
<description>IPv6 address used in prefix delegation</description>
230230
</valueHelp>
231-
<constraint>
231+
<constraintGroup>
232+
<validator name="ipv6-address"/>
232233
<!-- IPv6 address used MUST end with :: -->
233234
<regex>([a-fA-F0-9]{1,4}:)+:</regex>
234-
</constraint>
235+
</constraintGroup>
235236
</properties>
236237
<children>
237238
<leafNode name="prefix-length">
@@ -254,10 +255,11 @@
254255
<format>ipv6</format>
255256
<description>IPv6 address used in prefix delegation</description>
256257
</valueHelp>
257-
<constraint>
258+
<constraintGroup>
259+
<validator name="ipv6-address"/>
258260
<!-- IPv6 address used MUST end with :: -->
259261
<regex>([a-fA-F0-9]{1,4}:)+:</regex>
260-
</constraint>
262+
</constraintGroup>
261263
</properties>
262264
</leafNode>
263265
</children>

0 commit comments

Comments
 (0)