This commit is contained in:
Donald Sharp 2025-04-29 16:22:43 +00:00 committed by GitHub
commit d9a0837483
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3049,6 +3049,14 @@ static bool zebra_nhg_nexthop_compare(const struct nexthop *nhop,
if (IS_ZEBRA_DEBUG_NHG_DETAIL)
zlog_debug("%s: %pRN Old is not active going to the next one",
__func__, rn);
if (!CHECK_FLAG(nhop->flags, NEXTHOP_FLAG_ACTIVE) &&
nexthop_same(nhop, old_nhop)) {
if (IS_ZEBRA_DEBUG_NHG_DETAIL)
zlog_debug("%s: %pRN new is not active going to the next one",
__func__, rn);
nhop = nhop->next;
}
old_nhop = old_nhop->next;
continue;
}