diff options
author | Lucas <pinheirolucas@pm.me> | 2024-03-10 19:02:49 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-03-10 20:06:42 +0100 |
commit | c8670ae7941a8bac31e2174d4c6426b47272bfcc (patch) | |
tree | 4924bb8f211b5404748ee746f577cee25e457655 /interface-definitions | |
parent | 0eee7cf02e781c0be1462547c66669a05be3e6da (diff) | |
download | vyos-1x-c8670ae7941a8bac31e2174d4c6426b47272bfcc.tar.gz vyos-1x-c8670ae7941a8bac31e2174d4c6426b47272bfcc.zip |
dhcp-client: T6093: extend regex for client class-id's with DOT
The regex used is not working if the string contains dots.
Originally authored by: Lucas <pinheirolucas@pm.me>
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/constraint/dhcp-client-string-option.xml.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/constraint/dhcp-client-string-option.xml.i b/interface-definitions/include/constraint/dhcp-client-string-option.xml.i index 88257a9bb..0e3fb8a96 100644 --- a/interface-definitions/include/constraint/dhcp-client-string-option.xml.i +++ b/interface-definitions/include/constraint/dhcp-client-string-option.xml.i @@ -1,4 +1,4 @@ <!-- include start from constraint/dhcp-client-string-option.xml.i --> -<regex>[-_a-zA-Z0-9\s]+</regex> +<regex>[-_a-zA-Z0-9.\s]+</regex> <regex>([a-fA-F0-9][a-fA-F0-9]:){2,}[a-fA-F0-9][a-fA-F0-9]</regex> <!-- include end --> |