diff options
| author | David Lamparter <equinox@diac24.net> | 2019-02-18 13:13:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-18 13:13:58 +0100 |
| commit | 5243b754dc615904bbfdb40b6b4cfb44f359c6bb (patch) | |
| tree | e049351bec67014a9fbd1714365397ef69429950 /ospf6d/ospf6_main.c | |
| parent | b57442d701e05cf70b83281e652785f091e89c07 (diff) | |
| parent | 18f286adfbaba52a7d6d4a3994e763109d088c74 (diff) | |
Merge pull request #3802 from pguibert6WIND/ospfv3_misc_fixes
Ospfv3 misc fixes
Diffstat (limited to 'ospf6d/ospf6_main.c')
| -rw-r--r-- | ospf6d/ospf6_main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c index 046badc824..61094c7cdb 100644 --- a/ospf6d/ospf6_main.c +++ b/ospf6d/ospf6_main.c @@ -43,6 +43,7 @@ #include "ospf6d.h" #include "ospf6_top.h" #include "ospf6_message.h" +#include "ospf6_network.h" #include "ospf6_asbr.h" #include "ospf6_lsa.h" #include "ospf6_interface.h" @@ -84,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(); @@ -97,6 +100,7 @@ static void __attribute__((noreturn)) ospf6_exit(int status) ospf6_asbr_terminate(); ospf6_lsa_terminate(); + ospf6_serv_close(); /* reverse access_list_init */ access_list_reset(); |
