summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospf6d/ospf6_main.c')
-rw-r--r--ospf6d/ospf6_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c
index 8320f11f6c..e94f2a1c47 100644
--- a/ospf6d/ospf6_main.c
+++ b/ospf6d/ospf6_main.c
@@ -104,9 +104,9 @@ static void __attribute__((noreturn)) ospf6_exit(int status)
vrf_terminate();
- if (zclient) {
- zclient_stop(zclient);
- zclient_free(zclient);
+ if (ospf6_zclient) {
+ zclient_stop(ospf6_zclient);
+ zclient_free(ospf6_zclient);
}
ospf6_master_delete();