From: Vincent Bernat Date: Fri, 27 Feb 2009 13:11:48 +0000 (+0100) Subject: Don't try to reset the interface when removing it X-Git-Tag: 0.3.1~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=55d63368c919eb42d8e5a08296cf37f1e11ffe0c;p=thirdparty%2Flldpd.git Don't try to reset the interface when removing it --- diff --git a/src/lldpd.c b/src/lldpd.c index 4a7ab1b6..cfeb8317 100644 --- a/src/lldpd.c +++ b/src/lldpd.c @@ -444,7 +444,7 @@ lldpd_cleanup(struct lldpd *cfg) if (hardware->h_flags == 0) { TAILQ_REMOVE(&cfg->g_hardware, hardware, h_entries); lldpd_iface_close(cfg, hardware); - lldpd_remote_cleanup(cfg, hardware, 1); + lldpd_remote_cleanup(cfg, hardware, 0); lldpd_hardware_cleanup(hardware); } else if (hardware->h_rchassis != NULL) { if (time(NULL) - hardware->h_rlastupdate >