summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-09-22 17:34:38 +0200
committerGitHub <noreply@github.com>2024-09-22 17:34:38 +0200
commit46f83c7d09b923e99a3632b7cc153da08cdded9a (patch)
treea5c702ad7ab826bd513c3b424bc84d91217dedb5
parenta66122f8f17319138ace4e05d7e24cecda9ae35f (diff)
parent3f4e3d2a563f26e88e9ff93aca89d673e25fda45 (diff)
downloadvyos-1x-46f83c7d09b923e99a3632b7cc153da08cdded9a.tar.gz
vyos-1x-46f83c7d09b923e99a3632b7cc153da08cdded9a.zip
Merge pull request #4093 from vyos/mergify/bp/circinus/pr-4091
lldp: T6727: add missing input validation for interface names (backport #4091)
-rw-r--r--interface-definitions/service_lldp.xml.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/interface-definitions/service_lldp.xml.in b/interface-definitions/service_lldp.xml.in
index 1a06e0cb3..51a9f9cce 100644
--- a/interface-definitions/service_lldp.xml.in
+++ b/interface-definitions/service_lldp.xml.in
@@ -23,6 +23,10 @@
<script>${vyos_completion_dir}/list_interfaces</script>
<list>all</list>
</completionHelp>
+ <constraint>
+ #include <include/constraint/interface-name.xml.i>
+ <regex>all</regex>
+ </constraint>
</properties>
<children>
#include <include/generic-disable-node.xml.i>