diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-04 14:04:43 -0400 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-25 11:13:43 -0400 |
| commit | d3a35138115f89c19d0c44776da705b52975909f (patch) | |
| tree | faa42b7560abce2b2cf7f230214e7818dd1b0c70 /zebra/zebra_rnh.c | |
| parent | cd36b87d8c067626dce566143e7998d0a0a9b722 (diff) | |
lib,pbrd,zebra: Use one api to delete nexthops/group
Reduce the api for deleting nexthops and the containing
group to just one call rather than having a special case
and handling it separately.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_rnh.c')
| -rw-r--r-- | zebra/zebra_rnh.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c index af3c1b818f..60e23cc4d4 100644 --- a/zebra/zebra_rnh.c +++ b/zebra/zebra_rnh.c @@ -940,7 +940,6 @@ static void free_state(vrf_id_t vrf_id, struct route_entry *re, return; /* free RE and nexthops */ - nexthops_free(re->ng->nexthop); nexthop_group_delete(&re->ng); XFREE(MTYPE_RE, re); } |
