]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
daemon: cleanup remote ports for permanent interfaces too
authorVincent Bernat <vincent@bernat.ch>
Thu, 27 Oct 2022 20:55:25 +0000 (22:55 +0200)
committerVincent Bernat <vincent@bernat.ch>
Thu, 27 Oct 2022 21:02:58 +0000 (23:02 +0200)
Otherwise, we will try to delete them again and again.

Fix #554

NEWS
src/daemon/lldpd.c

diff --git a/NEWS b/NEWS
index d8306efa53f314fb5b81aa8c01244f5e72bedfd2..003325aed1c23cf189470c9334afa865a19b637f 100644 (file)
--- 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
index 2d53fbada575237469f1573f3d6126e253e4fe21..9f844751073234d337a6faebf8dcaf80a32a92a4 100644 (file)
@@ -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 {