From e49b20cecc8ce7b52aa23294fefb79b887d8271b Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 30 Jun 2017 10:33:30 -0400 Subject: [PATCH] ospf6d: Fix zclient cleanup on shutdown Signed-off-by: Donald Sharp --- ospf6d/ospf6_main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c index f69c1e1bca..0a4a3a28c3 100644 --- a/ospf6d/ospf6_main.c +++ b/ospf6d/ospf6_main.c @@ -110,7 +110,10 @@ ospf6_exit (int status) cmd_terminate (); if (zclient) - zclient_free (zclient); + { + zclient_stop (zclient); + zclient_free (zclient); + } if (master) thread_master_free (master);