summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-09-23 10:52:51 +0200
committerGitHub <noreply@github.com>2024-09-23 10:52:51 +0200
commit6450c7d964352503c99347bdf1d6bd5c673b37bd (patch)
tree1901c8f63298894e7738fdeb9c549bab87a30186 /interface-definitions
parentb114dcec6ac7e549c3af5349bcf2c1d45b797315 (diff)
parentf5abd6d24d18c65430140e3bc007a16908f4cf12 (diff)
downloadvyos-1x-6450c7d964352503c99347bdf1d6bd5c673b37bd.tar.gz
vyos-1x-6450c7d964352503c99347bdf1d6bd5c673b37bd.zip
Merge pull request #4092 from vyos/mergify/bp/sagitta/pr-4091
lldp: T6727: add missing input validation for interface names (backport #4091)
Diffstat (limited to 'interface-definitions')
-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>