diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-21 10:59:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-21 10:59:21 +0100 |
commit | 273c65311e70414ab6267e62d1abcc2eb0f00a3c (patch) | |
tree | 99b9609dc6995ba0ba5a5f64b2a7f2ecc301a7af /interface-definitions/include/interface/duid.xml.i | |
parent | d6b94822a7cb009210e73ca42e26794025fcee3b (diff) | |
parent | 551f06218755076cde588c848c01ce5ca1bf5e6b (diff) | |
download | vyos-1x-273c65311e70414ab6267e62d1abcc2eb0f00a3c.tar.gz vyos-1x-273c65311e70414ab6267e62d1abcc2eb0f00a3c.zip |
Merge pull request #2670 from indrajitr/duid-refactor-T5846-3
dhcp: T5846: Ensure DUID regex range is bound
Diffstat (limited to 'interface-definitions/include/interface/duid.xml.i')
-rw-r--r-- | interface-definitions/include/interface/duid.xml.i | 2 |
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> |