From: Vincent Bernat Date: Thu, 27 Oct 2022 20:55:25 +0000 (+0200) Subject: daemon: cleanup remote ports for permanent interfaces too X-Git-Tag: 1.0.16~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d783e3830eab3dfcd903241fd798b16d6e32b351;p=thirdparty%2Flldpd.git daemon: cleanup remote ports for permanent interfaces too Otherwise, we will try to delete them again and again. Fix #554 --- diff --git a/NEWS b/NEWS index d8306efa..003325ae 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ lldpd (1.0.16) * Fix: + Do not use 00:00:00:00:00:00 as chassis ID. + + Do not busy loop when an interface with a neighbor disappears. lldpd (1.0.15) * Changes diff --git a/src/daemon/lldpd.c b/src/daemon/lldpd.c index 2d53fbad..9f844751 100644 --- a/src/daemon/lldpd.c +++ b/src/daemon/lldpd.c @@ -463,6 +463,7 @@ lldpd_cleanup(struct lldpd *cfg) case 2: log_debug("localchassis", "do not delete %s, permanent", hardware->h_ifname); + lldpd_remote_cleanup(hardware, notify_clients_deletion, 1); break; } } else {