summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_main.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-02-14 14:06:41 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2019-02-14 18:24:01 +0100
commitd51884e6e1efb98e01fd8839be426c767f375092 (patch)
tree9c8ae081d6218f9b1831e23ab573808aaaadd2af /ospf6d/ospf6_main.c
parentc8b9f5fb1271a5b02fd0abc9b3f55c6c5bf9e4de (diff)
ospf6d: closing server socket when leaving ospf6d
this commit brings consistency as it closes the socket used to carry ospfv3 messages. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'ospf6d/ospf6_main.c')
-rw-r--r--ospf6d/ospf6_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c
index 046badc824..289c7dc18c 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"
@@ -97,6 +98,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();