]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_fpm_protobuf.c
zebra: fix nexthop_group conversion in fpm code
[mirror_frr.git] / zebra / zebra_fpm_protobuf.c
index d50981debf58685b38dbfa19f484d973532b1dce..ade4b636d62c77f66c15598e8f2d270e7d3467d3 100644 (file)
@@ -173,7 +173,7 @@ static Fpm__AddRoute *create_add_route_message(qpb_allocator_t *allocator,
         * Figure out the set of nexthops to be added to the message.
         */
        num_nhs = 0;
-       for (ALL_NEXTHOPS_PTR(re->nhe->nhg, nexthop)) {
+       for (ALL_NEXTHOPS(re->nhe->nhg, nexthop)) {
                if (num_nhs >= zrouter.multipath_num)
                        break;