diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2018-10-02 11:39:51 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2018-10-02 11:40:52 +0200 |
commit | 6a154c88122dd0a9e9deb4309e15b975ad169817 (patch) | |
tree | 25e32515503d2b9327ff43e335b4b5ceb4d74787 /isisd/isis_route.c | |
parent | lib: remove deprecated list_delete()/list_free() (diff) | |
download | frr-6a154c88122dd0a9e9deb4309e15b975ad169817.tar.xz frr-6a154c88122dd0a9e9deb4309e15b975ad169817.zip |
*: list_delete_and_null() -> list_delete()
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'isisd/isis_route.c')
-rw-r--r-- | isisd/isis_route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isis_route.c b/isisd/isis_route.c index b1225ae54..f9b4a2b14 100644 --- a/isisd/isis_route.c +++ b/isisd/isis_route.c @@ -253,13 +253,13 @@ static void isis_route_info_delete(struct isis_route_info *route_info) if (route_info->nexthops) { route_info->nexthops->del = (void (*)(void *))isis_nexthop_delete; - list_delete_and_null(&route_info->nexthops); + list_delete(&route_info->nexthops); } if (route_info->nexthops6) { route_info->nexthops6->del = (void (*)(void *))isis_nexthop6_delete; - list_delete_and_null(&route_info->nexthops6); + list_delete(&route_info->nexthops6); } XFREE(MTYPE_ISIS_ROUTE_INFO, route_info); |