summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_fpm_protobuf.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-02-28 14:45:56 +0100
committerMark Stapp <mjs@voltanet.io>2020-02-28 14:45:56 +0100
commit97cd9bfc0745e96169b46ba93b7c88f6cdba1269 (patch)
tree08946b3c818435c7493e4b6e48f1a8a3c9903422 /zebra/zebra_fpm_protobuf.c
parentMerge pull request #5859 from donaldsharp/clang_latest (diff)
downloadfrr-97cd9bfc0745e96169b46ba93b7c88f6cdba1269.tar.xz
frr-97cd9bfc0745e96169b46ba93b7c88f6cdba1269.zip
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 d50981deb..ade4b636d 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;