summaryrefslogtreecommitdiff
path: root/zebra/zebra_fpm_protobuf.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-02-28 08:45:56 -0500
committerMark Stapp <mjs@voltanet.io>2020-02-28 08:45:56 -0500
commit97cd9bfc0745e96169b46ba93b7c88f6cdba1269 (patch)
tree08946b3c818435c7493e4b6e48f1a8a3c9903422 /zebra/zebra_fpm_protobuf.c
parent890b3450ead5ab90c0e415816ded89e3e00255f5 (diff)
zebra: fix nexthop_group conversion in fpm code
Recent commit that embedded the nhg_hash_entry's group missed a couple of fpm modules. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zebra_fpm_protobuf.c')
-rw-r--r--zebra/zebra_fpm_protobuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_fpm_protobuf.c b/zebra/zebra_fpm_protobuf.c
index d50981debf..ade4b636d6 100644
--- a/zebra/zebra_fpm_protobuf.c
+++ b/zebra/zebra_fpm_protobuf.c
@@ -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;