Skip to content

Conversation

@m-hau
Copy link

@m-hau m-hau commented Nov 17, 2025

Fixes two small copy&paste mistakes.


And a related piece of information for future researching users: To change the sysName TLV value (for example to the FQDN), you can use lldptool -i eth0 -T -V sysName info=myhost.example.org. This config option is unfortunately not listed by lldptool -i eth0 -t -V sysName -c until you set it.

Simple copy&paste mistake, the output label must match the config key.

Fixes: 1d7fc77 ("lldp: Allow lldptool to modify optional TLV's content")
Signed-off-by: Marko Hauptvogel <marko.hauptvogel@tu-dresden.de>
Simple copy&paste mistake, the test-flag needs to be true here.

Fixes: 092a3d7 ("lldptool: support multiple arguments instead of one")
Signed-off-by: Marko Hauptvogel <marko.hauptvogel@tu-dresden.de>
@penguin359
Copy link
Contributor

Looks reasonable, but I want to refresh myself on this code before marking it approved.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes two copy-paste errors in the LLDP basman commands implementation:

  • Corrects an incorrect output message in _set_arg_info that was displaying "enableTx" instead of "info"
  • Fixes test_arg_ipv6 to pass true instead of false to the underlying function, making it consistent with other test functions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants