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 20, 2024
1 parent ff0c3b8 commit a88079c
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 a88079c

Please sign in to comment.