]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_fpm_dt.c
Merge pull request #5793 from ton31337/fix/formatting_show_bgp_summary_failed
[mirror_frr.git] / zebra / zebra_fpm_dt.c
index e87fa0ad711843566ceddbf48cf61c89dbd8c642..389781d4f74ceaa3eced608b3dab5c1f1d6972f0 100644 (file)
@@ -90,7 +90,7 @@ static int zfpm_dt_find_route(rib_dest_t **dest_p, struct route_entry **re_p)
                if (!re)
                        continue;
 
-               if (re->nexthop_active_num <= 0)
+               if (nexthop_group_active_nexthop_num(re->nhe->nhg) == 0)
                        continue;
 
                *dest_p = dest;