summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-08-02 17:17:30 +0200
committerChristian Breunig <christian@breunig.cc>2023-08-02 17:17:32 +0200
commit24528fd71d979e3d0bc573f34aad9345c6beeb7f (patch)
treed77e7d09edfc10a6a0ea12f1a3a6b5ce343082b6
parent34f03461390c85ff5f62481d53fb8e6bc156a208 (diff)
downloadvyos-1x-24528fd71d979e3d0bc573f34aad9345c6beeb7f.tar.gz
vyos-1x-24528fd71d979e3d0bc573f34aad9345c6beeb7f.zip
dhcp: T5414: improve bootfile-name constraintx
Extend list of allowed characters for the bootfile-option.
-rw-r--r--interface-definitions/dhcp-server.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/dhcp-server.xml.in b/interface-definitions/dhcp-server.xml.in
index 1830cc1ad..583de7ba9 100644
--- a/interface-definitions/dhcp-server.xml.in
+++ b/interface-definitions/dhcp-server.xml.in
@@ -129,7 +129,7 @@
<properties>
<help>Bootstrap file name</help>
<constraint>
- <regex>[-_a-zA-Z0-9./]+</regex>
+ <regex>[[:ascii:]]{1,253}</regex>
</constraint>
</properties>
</leafNode>