From e6be43945e5fa6b8bd1263a4b13ce049a2505dcd Mon Sep 17 00:00:00 2001 From: Marko Hauptvogel Date: Mon, 17 Nov 2025 15:44:12 +0100 Subject: [PATCH 1/2] lldp: fix _set_arg_info output label Simple copy&paste mistake, the output label must match the config key. Fixes: 1d7fc777 ("lldp: Allow lldptool to modify optional TLV's content") Signed-off-by: Marko Hauptvogel --- lldp_basman_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldp_basman_cmds.c b/lldp_basman_cmds.c index 2f40d94..44802ca 100644 --- a/lldp_basman_cmds.c +++ b/lldp_basman_cmds.c @@ -237,7 +237,7 @@ static int _set_arg_info(struct cmd *cmd, UNUSED char *arg, char *argvalue, cmd->tlvid, argvalue)) return cmd_failed; - snprintf(obuf, obuf_len, "enableTx = %s\n", argvalue); + snprintf(obuf, obuf_len, "info = %s\n", argvalue); somethingChangedLocal(cmd->ifname, cmd->type); From 43c7eb6b7069d1345bb7d20dfc78e40363a6f3c5 Mon Sep 17 00:00:00 2001 From: Marko Hauptvogel Date: Mon, 17 Nov 2025 15:44:12 +0100 Subject: [PATCH 2/2] lldp: fix test_arg_ipv6 Simple copy&paste mistake, the test-flag needs to be true here. Fixes: 092a3d7f ("lldptool: support multiple arguments instead of one") Signed-off-by: Marko Hauptvogel --- lldp_basman_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldp_basman_cmds.c b/lldp_basman_cmds.c index 44802ca..41e419f 100644 --- a/lldp_basman_cmds.c +++ b/lldp_basman_cmds.c @@ -394,5 +394,5 @@ int set_arg_ipv6(struct cmd *cmd, char *arg, char *argvalue, int test_arg_ipv6(struct cmd *cmd, char *arg, char *argvalue, char *obuf, int obuf_len) { - return _set_arg_ipv6(cmd, arg, argvalue, obuf, obuf_len, false); + return _set_arg_ipv6(cmd, arg, argvalue, obuf, obuf_len, true); }