From: Vincent Bernat Date: Fri, 21 Jun 2013 07:01:30 +0000 (+0200) Subject: lldpd: don't call `lldpd_count_neighbors()` too many times X-Git-Tag: 0.7.4~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25eb1871461a4a99fc2afd250a46d08c97ef82c2;p=thirdparty%2Flldpd.git lldpd: don't call `lldpd_count_neighbors()` too many times --- diff --git a/src/daemon/lldpd.c b/src/daemon/lldpd.c index 89ffd919..79bea501 100644 --- a/src/daemon/lldpd.c +++ b/src/daemon/lldpd.c @@ -237,7 +237,6 @@ notify_clients_deletion(struct lldpd_hardware *hardware, #ifdef USE_SNMP agent_notify(hardware, NEIGHBOR_CHANGE_DELETED, rport); #endif - lldpd_count_neighbors(hardware->h_cfg); } static void