diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-02-15 17:42:13 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2019-02-15 17:42:13 +0100 |
commit | 18f286adfbaba52a7d6d4a3994e763109d088c74 (patch) | |
tree | 09bfe3c9b231cf562221beccec0c0f3f3bd1d294 /ospf6d | |
parent | ospf6d: upon interface deletion, the area if list may be updated (diff) | |
download | frr-18f286adfbaba52a7d6d4a3994e763109d088c74.tar.xz frr-18f286adfbaba52a7d6d4a3994e763109d088c74.zip |
ospf6d: reset the global ospf6 pointer
reset the global ospf6 pointer.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'ospf6d')
-rw-r--r-- | ospf6d/ospf6_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c index 289c7dc18..61094c7cd 100644 --- a/ospf6d/ospf6_main.c +++ b/ospf6d/ospf6_main.c @@ -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(); |