summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--interface-definitions/include/interface/duid.xml.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/interface/duid.xml.i b/interface-definitions/include/interface/duid.xml.i
index 4f8988dfa..8d808696e 100644
--- a/interface-definitions/include/interface/duid.xml.i
+++ b/interface-definitions/include/interface/duid.xml.i
@@ -7,7 +7,7 @@
<description>DHCP unique identifier</description>
</valueHelp>
<constraint>
- <regex>([0-9A-Fa-f]{2}:){,127}([0-9A-Fa-f]{2})</regex>
+ <regex>([0-9A-Fa-f]{2}:){0,127}([0-9A-Fa-f]{2})</regex>
</constraint>
<constraintErrorMessage>Invalid DUID, must be in the format h[[:h]...]</constraintErrorMessage>
</properties>