The lldpneighbor output for the "Time To Live" TLV is incorrectly reported as 120 seconds, rather than the actual Time To Live for the MSAP entry in question.
old_cache->rxInfoTTL = new_cache->rxInfoTTL;
+
#ifndef WIN32
#warning This is leaking, but I can't figure out why it's crashing when uncommented.
#endif
get this patch file, put it in prent directory of lldp source
openlldp-0.4alpha$ cat ../fixttl.20210420.leo.patch
--- openlldp-0.4alpha/src/msap.c 2010-06-08 13:06:29.000000000 +0800
+++ openlldp-0.4alpha/src/msap.c 2021-04-20 17:24:47.700211122 +0800
@@ -53,6 +53,9 @@
+
#ifndef WIN32
#warning This is leaking, but I can't figure out why it's crashing when uncommented.
#endif
openlldp-0.4alpha$ patch -p1 < ../fixttl.20210420.leo.patch
patching file src/msap.c
Last edit: Leo 2021-04-21