summaryrefslogtreecommitdiff
path: root/zebra/zebra_mpls.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-11-21 15:05:52 -0500
committerMark Stapp <mjs@voltanet.io>2019-11-21 15:05:52 -0500
commit5463ce26c35c875b56d507ac1b0e25b1f106cff5 (patch)
tree2b6f5bf8ab1e32684b36d55432e7857e1f7155f9 /zebra/zebra_mpls.c
parentfb72308b9903898778ce3463a6193c0b9510ade0 (diff)
zebra: clean up rib and nhg headers
Clean up the relationships between zebra's rib and nexthop-group headers as prep for adding a nexthop-group pointer to the route_entry. Signed-off-by: Mark Stapp <mjs@voltanet.io>
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 6942a37989..3a44db9dc0 100644
--- a/zebra/zebra_mpls.c
+++ b/zebra/zebra_mpls.c
@@ -2572,7 +2572,7 @@ static void mpls_zebra_nhg_update(struct route_entry *re, afi_t afi,
nhe = zebra_nhg_rib_find(0, new_grp, afi);
- zebra_nhg_re_update_ref(re, nhe);
+ route_entry_update_nhe(re, nhe);
}
static bool mpls_ftn_update_nexthop(int add, struct nexthop *nexthop,