diff options
| author | Mark Stapp <mjs.ietf@gmail.com> | 2023-01-31 10:55:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-31 10:55:01 -0500 |
| commit | 62f94280444c0968453dc42c44d25fca779c46bd (patch) | |
| tree | dca6a94a686acfe68b2eb1af341e539ce4ec1acd | |
| parent | ea768492f1499830292eec0a31b968e045d598f1 (diff) | |
| parent | 8ce0e517ed23c9d2b5f0855b21eec65ce93d3b90 (diff) | |
Merge pull request #12708 from donaldsharp/no_notification
zebra: Send nht resolved entry up to concerned protocols in all cases
| -rw-r--r-- | zebra/zebra_rib.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index fb684c3ecc..2f71a10d3d 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -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: |
