From a9c81cc289e8d40b87117e01b1416a9ac2f60f50 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Mon, 26 Jun 2023 13:57:24 +0300 Subject: ospfd: Stop and free synchronous Zebra client on OSPF termination Signed-off-by: Donatas Abraitis --- ospfd/ospf_zebra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ospfd/ospf_zebra.c') diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c index 27d74cd4fc..8aabfc914b 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; -- cgit v1.2.3