summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_mpls.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-09-25 00:40:09 +0200
committerStephen Worley <sworley@cumulusnetworks.com>2019-10-25 17:13:43 +0200
commitb2665a211ed7436dbcd4b477f628c2cdf546c2ca (patch)
tree9cb1f5607111ae1e4d1cc69206a9c13974da1f14 /zebra/zebra_mpls.c
parentzebra: Add DPLANE_NEIGH and DPLANE_VTEP to nhg cases (diff)
downloadfrr-b2665a211ed7436dbcd4b477f628c2cdf546c2ca.tar.xz
frr-b2665a211ed7436dbcd4b477f628c2cdf546c2ca.zip
zebra: Use ng pointer in mpls_ftn_uninstall
With the new nexthop group shared memory framework, pointers are being used in route_entry for the nexthop_group. Update the use of this in `mpls_ftn_uninstall()` to reflect the change. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_mpls.c')
-rw-r--r--zebra/zebra_mpls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_mpls.c b/zebra/zebra_mpls.c
index 331ca44c6..ef1bd0260 100644
--- a/zebra/zebra_mpls.c
+++ b/zebra/zebra_mpls.c
@@ -2698,7 +2698,7 @@ int mpls_ftn_uninstall(struct zebra_vrf *zvrf, enum lsp_types_t type,
if (re == NULL)
return -1;
- for (nexthop = re->ng.nexthop; nexthop; nexthop = nexthop->next)
+ for (nexthop = re->ng->nexthop; nexthop; nexthop = nexthop->next)
nexthop_del_labels(nexthop);
SET_FLAG(re->status, ROUTE_ENTRY_CHANGED);