summaryrefslogtreecommitdiff
path: root/zebra/redistribute.c
diff options
context:
space:
mode:
authormitesh <mitesh@cumulusnetworks.com>2017-10-16 14:57:42 -0700
committerMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>2017-12-14 10:57:06 -0800
commit6134fd82a000fb043fc3c0eb5e08cd5ec4f3bfca (patch)
tree08ec7e6dd4356d909feae42779ca7436e82aae12 /zebra/redistribute.c
parenta89b49cc4e4e5360cb77fd5c897c42af89cbc555 (diff)
zebra: proper refcounting for rmac/nh entries
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.comy>
Diffstat (limited to 'zebra/redistribute.c')
-rw-r--r--zebra/redistribute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c
index cbf77765a3..3c6a2a7daf 100644
--- a/zebra/redistribute.c
+++ b/zebra/redistribute.c
@@ -570,7 +570,7 @@ int zebra_del_import_table_entry(struct route_node *rn, struct route_entry *re)
rib_delete(afi, SAFI_UNICAST, re->vrf_id, ZEBRA_ROUTE_TABLE,
re->table, re->flags, &p, NULL, re->nexthop,
- zebrad.rtm_table_default, re->metric, false);
+ zebrad.rtm_table_default, re->metric, false, NULL);
return 0;
}