diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2021-05-06 14:17:11 +0200 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-05-07 11:03:57 +0200 |
commit | c97b34cf1a4b10afbb3542507de701fb74e93fcb (patch) | |
tree | d38588e8c4219b62d494eb559740d8ca596c7640 /ospf6d/ospf6_main.c | |
parent | isisd: fix bfd config output (diff) | |
download | frr-c97b34cf1a4b10afbb3542507de701fb74e93fcb.tar.xz frr-c97b34cf1a4b10afbb3542507de701fb74e93fcb.zip |
lib: remove old bfd library
This commit also adds missing `bfd_protocol_integration_set_shutdown` to
ospf6d and pimd.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'ospf6d/ospf6_main.c')
-rw-r--r-- | ospf6d/ospf6_main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c index 5ffcf8c2f..e23361169 100644 --- a/ospf6d/ospf6_main.c +++ b/ospf6d/ospf6_main.c @@ -87,6 +87,8 @@ static void __attribute__((noreturn)) ospf6_exit(int status) frr_early_fini(); + bfd_protocol_integration_set_shutdown(true); + for (ALL_LIST_ELEMENTS(om6->ospf6, node, nnode, ospf6)) { vrf = vrf_lookup_by_id(ospf6->vrf_id); ospf6_delete(ospf6); @@ -96,9 +98,6 @@ static void __attribute__((noreturn)) ospf6_exit(int status) ospf6_interface_delete(ifp->info); } - bfd_gbl_exit(); - - ospf6_message_terminate(); ospf6_asbr_terminate(); ospf6_lsa_terminate(); |