]> git.ipfire.org Git - thirdparty/lldpd.git/commit
lldpd: make notifications work when a port goes down
authorVincent Bernat <bernat@luffy.cx>
Tue, 13 Aug 2013 19:33:29 +0000 (21:33 +0200)
committerVincent Bernat <bernat@luffy.cx>
Tue, 13 Aug 2013 19:33:29 +0000 (21:33 +0200)
commitef3707dacfd94a260b43b4e85930a04606166bf7
tree5d0449cbc3bfb86b633ae081215fd42b80792671
parentf5a0a15ea37d4243ec0bc49d4ed50eed851bb619
lldpd: make notifications work when a port goes down

We need to refactor a bit `lldpd_remote_cleanup()` to separate the
expiration process (checking each remote port to check if it is still
current) and the removal of remote port (which triggers the expire
function because we want to be notified when a neighbor disappear this
way).
src/daemon/lldpd.c
src/lib/atom-private.c
src/lldpd-structs.c
src/lldpd-structs.h