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.

(cherry picked from commit 82ba669)
  • Loading branch information
c-po authored and mergify[bot] committed Sep 21, 2024
1 parent b114dce commit f5abd6d
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 f5abd6d

Please sign in to comment.