From: Victor Julien Date: Thu, 10 Apr 2014 06:20:57 +0000 (+0200) Subject: log-tls: run Disable at shutdown X-Git-Tag: suricata-2.0.1rc1~65 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f62185c207c7c257ce9d95198bf92ebc6e24f407;p=thirdparty%2Fsuricata.git log-tls: run Disable at shutdown Call OutputTlsLoggerDisable at cleanup. --- diff --git a/src/log-tlslog.c b/src/log-tlslog.c index 8589f8b2b9..0adf7f9ce5 100644 --- a/src/log-tlslog.c +++ b/src/log-tlslog.c @@ -379,6 +379,8 @@ static TmEcode LogTlsLogThreadDeinit(ThreadVars *t, void *data) static void LogTlsLogDeInitCtx(OutputCtx *output_ctx) { + OutputTlsLoggerDisable(); + LogTlsFileCtx *tlslog_ctx = (LogTlsFileCtx *) output_ctx->data; LogFileFreeCtx(tlslog_ctx->file_ctx); SCFree(tlslog_ctx);