summaryrefslogtreecommitdiffstats
path: root/ospf6d
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-02-15 17:42:13 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2019-02-15 17:42:13 +0100
commit18f286adfbaba52a7d6d4a3994e763109d088c74 (patch)
tree09bfe3c9b231cf562221beccec0c0f3f3bd1d294 /ospf6d
parentospf6d: upon interface deletion, the area if list may be updated (diff)
downloadfrr-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.c4
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();