Leo - 2021-04-20

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 @@

iterate_msap_cache(msap_cache);
  • / fix incorrect ttl @ Leo 2021.4.20 /
  • 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

openlldp-0.4alpha$ patch -p1 < ../fixttl.20210420.leo.patch
patching file src/msap.c

 

Last edit: Leo 2021-04-21