diff options
author | Christian Breunig <christian@breunig.cc> | 2024-09-21 20:52:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-21 20:52:06 +0200 |
commit | 3e884c5d8bda2236abb07cdf1bcae5474d81f693 (patch) | |
tree | fa2ab75aaf5b894195e9e99006ab6a22e613c39e /interface-definitions | |
parent | 46a76acc85e775e87db5a82fea7bd520d7765369 (diff) | |
parent | 82ba669c2632ae554528b13efd6489ced3e39964 (diff) | |
download | vyos-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.in | 4 |
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> |