summaryrefslogtreecommitdiff
path: root/ospfd/ospfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd/ospfd.c')
-rw-r--r--ospfd/ospfd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c
index 053907f209..fc51c739e4 100644
--- a/ospfd/ospfd.c
+++ b/ospfd/ospfd.c
@@ -60,6 +60,7 @@ struct ospf_master *om;
unsigned short ospf_instance;
extern struct zclient *zclient;
+extern struct zclient *zclient_sync;
/* OSPF config processing timer thread */
struct event *t_ospf_cfg;
@@ -683,6 +684,8 @@ void ospf_terminate(void)
*/
zclient_stop(zclient);
zclient_free(zclient);
+ zclient_stop(zclient_sync);
+ zclient_free(zclient_sync);
done:
frr_fini();