]> git.proxmox.com Git - mirror_frr.git/commitdiff
zebra: Fix missed bsd nexthop group pointer
authorStephen Worley <sworley@cumulusnetworks.com>
Thu, 29 Aug 2019 14:27:31 +0000 (10:27 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:43 +0000 (11:13 -0400)
When moving the nexthop group in a route entry to be a pointer,
we missed one wrapped in a `ifndef` for when the kernel doesn't
have netlink.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/zebra_dplane.c

index dea51ded1ba6ac184b7136efc0f08af283e166e7..d7354024aaa809bad0122ad54026042a5ea9e0fd 100644 (file)
@@ -1835,7 +1835,7 @@ dplane_route_update_internal(struct route_node *rn,
                         * We'll need these to do per-nexthop deletes.
                         */
                        copy_nexthops(&(ctx->u.rinfo.zd_old_ng.nexthop),
-                                     old_re->ng.nexthop, NULL);
+                                     old_re->ng->nexthop, NULL);
 #endif /* !HAVE_NETLINK */
                }