summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorLucas <pinheirolucas@pm.me>2024-03-10 19:02:49 +0100
committerChristian Breunig <christian@breunig.cc>2024-03-10 20:06:42 +0100
commitc8670ae7941a8bac31e2174d4c6426b47272bfcc (patch)
tree4924bb8f211b5404748ee746f577cee25e457655 /interface-definitions
parent0eee7cf02e781c0be1462547c66669a05be3e6da (diff)
downloadvyos-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.i2
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 -->