diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-08-29 10:27:31 -0400 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-25 11:13:43 -0400 |
| commit | 62b045d6c56ef4d1edef9f19228c7e9667c0d6a7 (patch) | |
| tree | 7895277afb3312df0a602fd2c25c73466623f7e1 | |
| parent | 7d5bb02b1adf4b0e11c6e27590e0b5b3ab841baa (diff) | |
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 <sworley@cumulusnetworks.com>
| -rw-r--r-- | zebra/zebra_dplane.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ } |
