summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_main.c
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <Jafaral@users.noreply.github.com>2017-06-30 10:35:28 -0500
committerGitHub <noreply@github.com>2017-06-30 10:35:28 -0500
commit1d0ca3ebf3ca33f37e23a437dd16e8473a347eb6 (patch)
treeaa5619148f19625996108b572e38811d834437a5 /ospf6d/ospf6_main.c
parentb5a46fd2a6e047576ad6869e4fb4c4ac10fd3773 (diff)
parente49b20cecc8ce7b52aa23294fefb79b887d8271b (diff)
Merge pull request #770 from donaldsharp/zclient
Zclient
Diffstat (limited to 'ospf6d/ospf6_main.c')
-rw-r--r--ospf6d/ospf6_main.c5
1 files changed, 4 insertions, 1 deletions
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);