]> git.ipfire.org Git - thirdparty/lldpd.git/commit
Free unused chassis.
authorVincent <bernat@luffy.cx>
Sat, 6 Mar 2010 08:41:53 +0000 (09:41 +0100)
committerVincent <bernat@luffy.cx>
Sat, 6 Mar 2010 09:24:20 +0000 (10:24 +0100)
commit9898ac078defbeb73285b90a23bcf5ac344130c0
tree0a0a0cf2d62d8777c7cb359c1142bddd034885e8
parenta0aa43e90db3e5bb9f0e7dbb47f17a2442bdbd21
Free unused chassis.

When reference count for a chassis drops to 0, we free the chassis.
This cannot happen to the local chassis because a reference should be
held to it even without any local port.
src/cdp.c
src/edp.c
src/interfaces.c
src/lldp.c
src/lldpd.c
src/lldpd.h
src/sonmp.c