diff options
| author | Renato Westphal <renato@openbsd.org> | 2018-04-10 17:27:57 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-10 17:27:57 -0300 |
| commit | 15da01e92d71047195a7387af3f693cb5ca3a970 (patch) | |
| tree | ed43e9d42db2237b0566441c6a93f2dd688b631b /zebra/zebra_rib.c | |
| parent | e1a8a773a2ae15095d49af647f7baabbddd655a2 (diff) | |
| parent | 4c66767c1018818b715ad313b51cfb438a9095a5 (diff) | |
Merge pull request #1973 from donaldsharp/static_nh_vrf
Static nh vrf
Diffstat (limited to 'zebra/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 48969e87f2..6ad60a6fff 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -2121,8 +2121,8 @@ void rib_unlink(struct route_node *rn, struct route_entry *re) /* free RE and nexthops */ if (re->type == ZEBRA_ROUTE_STATIC) - zebra_deregister_rnh_static_nexthops(re->vrf_id, re->ng.nexthop, - rn); + zebra_deregister_rnh_static_nexthops(re->ng.nexthop->vrf_id, + re->ng.nexthop, rn); nexthops_free(re->ng.nexthop); XFREE(MTYPE_RE, re); } |
