Skip to content

Commit

Permalink
luci-app-lldpd: Add option to disable sending sensitive information
Browse files Browse the repository at this point in the history
Added an option that sets the "-k" flag, which results in less sensitive information being sent. See man pages and description in source code.

Signed-off-by: Marek Küthe <m.k@mk16.de>
  • Loading branch information
marek22k committed Jul 4, 2023
1 parent 61950a7 commit af4b51e
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,14 @@ return L.view.extend({

o.default = '0';

// Disable advertising of kernel release, version and machine. (-k)
o = s.taboption(tab, form.Flag, 'lldp_no_version',
_('Disable advertising of kernel release, version and machine'),
_('Kernel name (ie: Linux) will still be shared, and Inventory ' +
'software version will be set to \'Unknown\'.'));

o.default = '0';

// Filter neighbors (-H)
o = s.taboption(tab, lldpd.cbiFilterSelect, 'filter',
_('Specify the behaviour when detecting multiple neighbors'),
Expand Down

0 comments on commit af4b51e

Please sign in to comment.