diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-21 12:38:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-21 12:38:46 +0100 |
commit | 61ebb10f70101931c7e60f5ccf9874091fc8b324 (patch) | |
tree | 060acfc65b3a4bdd6c3f2c04fb8837ca647fd6e4 /interface-definitions/include | |
parent | a5a5658acde0ebb8b6866f6f0feaadaab938bd0a (diff) | |
parent | 4a890dba1c4b06f177de24bbb54f55b2428ad2f1 (diff) | |
download | vyos-1x-61ebb10f70101931c7e60f5ccf9874091fc8b324.tar.gz vyos-1x-61ebb10f70101931c7e60f5ccf9874091fc8b324.zip |
Merge pull request #2671 from vyos/mergify/bp/sagitta/pr-2670
dhcp: T5846: Ensure DUID regex range is bound (backport #2670)
Diffstat (limited to 'interface-definitions/include')
-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> |