diff options
| author | Russ White <russ@riw.us> | 2024-11-05 10:20:36 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-05 10:20:36 -0500 |
| commit | fe20f83286e103ba12f9cc83c7f30dec47c6d31c (patch) | |
| tree | d832964117ebe68f498d1f97671bbc9487002d3d /zebra/zebra_rib.c | |
| parent | 408decfd77066d8ba7977b6d1af29ad80902971c (diff) | |
| parent | 0073a870d1b769e96b4f23d0422914200591062e (diff) | |
Merge pull request #17326 from anlancs/fix/zebra-no-ifp-down
zebra: fix missing kernel routes
Diffstat (limited to 'zebra/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 59e7696ed2..b2543ca0e8 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -4555,7 +4555,7 @@ rib_update_handle_kernel_route_down_possibility(struct route_node *rn, struct interface *ifp = if_lookup_by_index(nexthop->ifindex, nexthop->vrf_id); - if (ifp && if_is_up(ifp)) { + if ((ifp && if_is_up(ifp)) || nexthop->type == NEXTHOP_TYPE_BLACKHOLE) { alive = true; break; } |
