diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2023-07-01 14:35:42 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-01 14:35:42 -0400 |
| commit | 1f322e4cef0df7c736af7626ad7c9dc6f03e4bcc (patch) | |
| tree | 2eec3cba264caeeced5f36152e1c8c4cf4e86c29 /ospfd/ospfd.c | |
| parent | 69a826c485bf6f79f39be372ef6a98aed2322ff9 (diff) | |
| parent | a5c9e190beb444f70c83579d0e3a7f77435a73fa (diff) | |
Merge pull request #13847 from opensourcerouting/fix/free_zclient_sync_on_destroy
Stop and free synchronous Zebra client on destroy
Diffstat (limited to 'ospfd/ospfd.c')
| -rw-r--r-- | ospfd/ospfd.c | 3 |
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(); |
