Skip to content

Commit

Permalink
lldp: T6727: add missing input validation for interface names
Browse files Browse the repository at this point in the history
There is no input CLI validation on the interface name passed to the LLDP
service.
  • Loading branch information
c-po committed Sep 21, 2024
1 parent 46a76ac commit 82ba669
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions interface-definitions/service_lldp.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 82ba669

Please sign in to comment.