From 62b045d6c56ef4d1edef9f19228c7e9667c0d6a7 Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Thu, 29 Aug 2019 10:27:31 -0400 Subject: [PATCH] zebra: Fix missed bsd nexthop group pointer 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 --- zebra/zebra_dplane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c index dea51ded1b..d7354024aa 100644 --- a/zebra/zebra_dplane.c +++ b/zebra/zebra_dplane.c @@ -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 */ } -- 2.39.5