]> git.ipfire.org Git - thirdparty/lldpd.git/commit
When cleaning up a port in the context of refreshing gathered
authorVincent Bernat <bernat@luffy.cx>
Sun, 8 Mar 2009 15:47:17 +0000 (16:47 +0100)
committerVincent Bernat <bernat@luffy.cx>
Sun, 8 Mar 2009 15:47:17 +0000 (16:47 +0100)
commita0edeaf8c46a54c032633cd529c617f92db28685
treea88d2d84250cbc04a9a0f890970ea7df7ed61544
parentbc08499a5e18f7a35d80e9565423e35d332f459f
When cleaning up a port in the context of refreshing gathered
information, don't clean LLDP-MED location information. However, when
cleaning up a port for removal, clean them.

This fixes a regression introduced when fixing a memory leak. The
regression was introduced in:
 63f4b177e9b98ee2531e24a584fb7eaa754d0a14
src/cdp.c
src/edp.c
src/lldp.c
src/lldpd.c
src/lldpd.h
src/sonmp.c