summaryrefslogtreecommitdiff
path: root/zebra/zebra_mpls.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_mpls.c')
-rw-r--r--zebra/zebra_mpls.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/zebra/zebra_mpls.c b/zebra/zebra_mpls.c
index cbbb02be35..42d8c70f49 100644
--- a/zebra/zebra_mpls.c
+++ b/zebra/zebra_mpls.c
@@ -2658,7 +2658,7 @@ int mpls_ftn_update(int add, struct zebra_vrf *zvrf, enum lsp_types_t type,
}
if (found) {
- nhe = zebra_nhg_rib_find(0, &new_grp, re->vrf_id, afi);
+ nhe = zebra_nhg_rib_find(0, &new_grp, afi);
zebra_nhg_re_update_ref(re, nhe);
@@ -2922,8 +2922,7 @@ static void mpls_ftn_uninstall_all(struct zebra_vrf *zvrf,
if (CHECK_FLAG(re->status,
ROUTE_ENTRY_LABELS_CHANGED)) {
- nhe = zebra_nhg_rib_find(0, &new_grp,
- re->vrf_id, afi);
+ nhe = zebra_nhg_rib_find(0, &new_grp, afi);
zebra_nhg_re_update_ref(re, nhe);
}