summaryrefslogtreecommitdiff
path: root/ospfd/ospf_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2023-07-01 14:35:42 -0400
committerGitHub <noreply@github.com>2023-07-01 14:35:42 -0400
commit1f322e4cef0df7c736af7626ad7c9dc6f03e4bcc (patch)
tree2eec3cba264caeeced5f36152e1c8c4cf4e86c29 /ospfd/ospf_zebra.c
parent69a826c485bf6f79f39be372ef6a98aed2322ff9 (diff)
parenta5c9e190beb444f70c83579d0e3a7f77435a73fa (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/ospf_zebra.c')
-rw-r--r--ospfd/ospf_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c
index a5372dfc49..96d474fe86 100644
--- a/ospfd/ospf_zebra.c
+++ b/ospfd/ospf_zebra.c
@@ -47,7 +47,7 @@ DEFINE_MTYPE_STATIC(OSPFD, OSPF_REDISTRIBUTE, "OSPF Redistriute");
/* Zebra structure to hold current status. */
struct zclient *zclient = NULL;
/* and for the Synchronous connection to the Label Manager */
-static struct zclient *zclient_sync;
+struct zclient *zclient_sync;
/* For registering threads. */
extern struct event_loop *master;