]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lldp: report interface name on "Too big message"
authorVincent Bernat <vincent@bernat.ch>
Tue, 1 Feb 2022 20:26:54 +0000 (21:26 +0100)
committerVincent Bernat <vincent@bernat.ch>
Tue, 1 Feb 2022 20:27:22 +0000 (21:27 +0100)
src/daemon/protocols/lldp.c

index 6701441c84284c65dcc8e00c0db4e2e58ac6701b..411ed3569ff21b55faf0de9350e2a0c9759011c2 100644 (file)
@@ -532,7 +532,7 @@ end:
        return 0;
 
 toobig:
-       log_info("lldp", "Cannot send LLDP packet for %s, Too big message", p_id);
+       log_info("lldp", "Cannot send LLDP packet for %s, Too big message", hardware->h_ifname);
        free(packet);
        return E2BIG;
 }