mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 02:46:34 +00:00
zebra: increment the nhg proto score iterator
Increment the nhg proto score iterator we used to count leftover NHGs after client disconnect and log. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
This commit is contained in:
parent
1f65568046
commit
f651b708e0
@ -2864,6 +2864,8 @@ static void zebra_nhg_score_proto_entry(struct hash_bucket *bucket, void *arg)
|
||||
|
||||
/* Needs to match type and outside zebra ID space */
|
||||
if (nhe->type == iter->type && nhe->id >= ZEBRA_NHG_PROTO_LOWER) {
|
||||
iter->found++;
|
||||
|
||||
if (IS_ZEBRA_DEBUG_NHG_DETAIL)
|
||||
zlog_debug(
|
||||
"%s: found nhe %p (%u), vrf %d, type %s after client disconnect",
|
||||
|
Loading…
Reference in New Issue
Block a user