summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-09-21 20:52:06 +0200
committerGitHub <noreply@github.com>2024-09-21 20:52:06 +0200
commit3e884c5d8bda2236abb07cdf1bcae5474d81f693 (patch)
treefa2ab75aaf5b894195e9e99006ab6a22e613c39e /interface-definitions
parent46a76acc85e775e87db5a82fea7bd520d7765369 (diff)
parent82ba669c2632ae554528b13efd6489ced3e39964 (diff)
downloadvyos-1x-3e884c5d8bda2236abb07cdf1bcae5474d81f693.tar.gz
vyos-1x-3e884c5d8bda2236abb07cdf1bcae5474d81f693.zip
Merge pull request #4091 from c-po/lldp-t6727
lldp: T6727: add missing input validation for interface names
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>