diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2020-05-20 18:04:53 -0400 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2020-09-28 12:40:59 -0400 |
| commit | f651b708e0921d9610803a6e42414b058dfdfb56 (patch) | |
| tree | 50765d642c0f8f267ac01ccbb86c554fbfd0b16e | |
| parent | 1f655680469dc883298348b2bdd4c2ae8bff0fe7 (diff) | |
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>
| -rw-r--r-- | zebra/zebra_nhg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_nhg.c b/zebra/zebra_nhg.c index 1c9b970008..517e202e74 100644 --- a/zebra/zebra_nhg.c +++ b/zebra/zebra_nhg.c @@ -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", |
