]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospf6d: Fix zclient cleanup on shutdown 770/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 30 Jun 2017 14:33:30 +0000 (10:33 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 30 Jun 2017 14:33:30 +0000 (10:33 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ospf6d/ospf6_main.c

index f69c1e1bca4c2f1c26ea639963c9223bd6fc7b75..0a4a3a28c3a36c0bd6f88baa909e396a12a70238 100644 (file)
@@ -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);