From: Don Slice <dslice@cumulusnetworks.com> Fix for another issue with next-hop tracking for overlapping static routes created a problem removing the dead routes. This fix corrects that error. Ticket: CM-13710 Signed-off-by: Don Slice Reviewed By: Donald Sharp Testing Done: ospf-smoke, bgp-smoke --- zebra/zebra_rnh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c index c4c11f9..f5a9571 100644 --- a/zebra/zebra_rnh.c +++ b/zebra/zebra_rnh.c @@ -546,7 +546,7 @@ zebra_rnh_process_static_routes (vrf_id_t vrfid, int family, { RNODE_FOREACH_RIB(static_rn, srib) { - if (srib->type == ZEBRA_ROUTE_STATIC) + if (srib->type != ZEBRA_ROUTE_STATIC) continue; /* Set the filter flag for the correct nexthop - static route may -- 2.5.5