diff --git a/zebra/redistribute.c b/zebra/redistribute.c index 463c903dafdf..4069f7dd7039 100644 --- a/zebra/redistribute.c +++ b/zebra/redistribute.c @@ -682,6 +682,7 @@ int zebra_add_import_table_entry(struct zebra_vrf *zvrf, struct route_node *rn, copy_nexthops(&ng->nexthop, re->nhe->nhg.nexthop, NULL); rib_add_multipath(afi, SAFI_UNICAST, &p, NULL, newre, ng, false); + nexthop_group_delete(&ng); return 0; }