diff options
| author | Mark Stapp <mjs.ietf@gmail.com> | 2024-07-09 13:48:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-09 13:48:37 -0400 |
| commit | 7d08b297219ee58ece6c6548557075fe6f46a0f6 (patch) | |
| tree | 4f5cdf1016881b77750a485e660994145dd42c94 /zebra/zebra_dplane.c | |
| parent | 685712df44c4b4da91853db6ca30bf23e388d826 (diff) | |
| parent | 731f74e35fa2c1636208f4bf64650d2d00a199b4 (diff) | |
Merge pull request #16342 from pguibert6WIND/duplicate_fib_proposal
Duplicate fib proposal
Diffstat (limited to 'zebra/zebra_dplane.c')
| -rw-r--r-- | zebra/zebra_dplane.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c index 7910559c4b..0844b34672 100644 --- a/zebra/zebra_dplane.c +++ b/zebra/zebra_dplane.c @@ -4315,6 +4315,10 @@ dplane_route_update_internal(struct route_node *rn, continue; if (CHECK_FLAG(nexthop->flags, + NEXTHOP_FLAG_DUPLICATE)) + continue; + + if (CHECK_FLAG(nexthop->flags, NEXTHOP_FLAG_ACTIVE)) SET_FLAG(nexthop->flags, NEXTHOP_FLAG_FIB); |
