Merge pull request #12708 from donaldsharp/no_notification

zebra: Send nht resolved entry up to concerned protocols in all cases
This commit is contained in:
Mark Stapp 2023-01-31 10:55:01 -05:00 committed by GitHub
commit 62f9428044
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1788,9 +1788,12 @@ no_nexthops:
ctxnhg->nexthop != NULL ? "" : " (empty)");
/* Set the flag about the dedicated fib list */
SET_FLAG(re->status, ROUTE_ENTRY_USE_FIB_NHG);
if (ctxnhg->nexthop)
copy_nexthops(&(re->fib_ng.nexthop), ctxnhg->nexthop, NULL);
if (zrouter.asic_notification_nexthop_control) {
SET_FLAG(re->status, ROUTE_ENTRY_USE_FIB_NHG);
if (ctxnhg->nexthop)
copy_nexthops(&(re->fib_ng.nexthop), ctxnhg->nexthop,
NULL);
}
check_backups: