ospf6d: reset the global ospf6 pointer

reset the global ospf6 pointer.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
Philippe Guibert 2019-02-15 17:42:13 +01:00
parent 22b982dfe9
commit 18f286adfb

View File

@ -85,8 +85,10 @@ static void __attribute__((noreturn)) ospf6_exit(int status)
frr_early_fini();
if (ospf6)
if (ospf6) {
ospf6_delete(ospf6);
ospf6 = NULL;
}
bfd_gbl_exit();