]> 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:50:32 +0000 (16:50 +0100)
commit17a6a18d7eb5501c7688cd7a151d65f9bd2e1857
treea42a823fa17fec765c788122a7c7d63abc39c7dd
parent34602f3b1cdda79ba5f0dd532011c7df8cde23e4
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