]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lldpd: don't call `lldpd_count_neighbors()` too many times
authorVincent Bernat <bernat@luffy.cx>
Fri, 21 Jun 2013 07:01:30 +0000 (09:01 +0200)
committerVincent Bernat <bernat@luffy.cx>
Fri, 21 Jun 2013 07:01:30 +0000 (09:01 +0200)
src/daemon/lldpd.c

index 89ffd91987cfde4296bc0314637558bb2ca02073..79bea5016d46addaeab759cab1a0ca3519d0fc89 100644 (file)
@@ -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