ospf6d: Fix zclient cleanup on shutdown

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-06-30 10:33:30 -04:00
parent ee514f7116
commit e49b20cecc

View File

@ -110,7 +110,10 @@ ospf6_exit (int status)
cmd_terminate ();
if (zclient)
zclient_free (zclient);
{
zclient_stop (zclient);
zclient_free (zclient);
}
if (master)
thread_master_free (master);