summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_interface.c
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2018-10-02 10:03:46 -0400
committerGitHub <noreply@github.com>2018-10-02 10:03:46 -0400
commite47e908c0ddc5fa7c4b2ea33094e09bdc7a6e39a (patch)
tree8474b723504f124cf34a21b09d2871fe64afcaa3 /ospf6d/ospf6_interface.c
parente2392415346356926538d0433cbfb1ddcc9a2de1 (diff)
parent6a154c88122dd0a9e9deb4309e15b975ad169817 (diff)
Merge pull request #3120 from opensourcerouting/remove-list-delete
lib: remove deprecated list_delete()/list_free()
Diffstat (limited to 'ospf6d/ospf6_interface.c')
-rw-r--r--ospf6d/ospf6_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c
index 9777a01ae6..17a30188c7 100644
--- a/ospf6d/ospf6_interface.c
+++ b/ospf6d/ospf6_interface.c
@@ -241,7 +241,7 @@ void ospf6_interface_delete(struct ospf6_interface *oi)
for (ALL_LIST_ELEMENTS(oi->neighbor_list, node, nnode, on))
ospf6_neighbor_delete(on);
- list_delete_and_null(&oi->neighbor_list);
+ list_delete(&oi->neighbor_list);
THREAD_OFF(oi->thread_send_hello);
THREAD_OFF(oi->thread_send_lsupdate);