summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-bridge.xml
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/interfaces-bridge.xml')
-rw-r--r--interface-definitions/interfaces-bridge.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-bridge.xml b/interface-definitions/interfaces-bridge.xml
index 5cb8c7c40..4186a94a7 100644
--- a/interface-definitions/interfaces-bridge.xml
+++ b/interface-definitions/interfaces-bridge.xml
@@ -35,6 +35,10 @@
<format>dhcpv6</format>
<description>Dynamic Host Configuration Protocol for IPv6</description>
</valueHelp>
+ <constraint>
+ <validator name="cidr"/>
+ <regex>(dhcp|dhcpv6)</regex>
+ </constraint>
<multi/>
</properties>
</leafNode>