]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
tls-json-log: register module as tls-json-log, not dns-json-log
authorJason Ish <ish@unx.ca>
Thu, 26 May 2016 17:44:19 +0000 (11:44 -0600)
committerVictor Julien <victor@inliniac.net>
Fri, 27 May 2016 08:41:51 +0000 (10:41 +0200)
Fixes issue:
https://redmine.openinfosecfoundation.org/issues/1792
where dns-json-log would not log any data.

src/output-json-tls.c

index adb0a4e1f603abb144f56d92bc16ef27c8d0e197..a7512a097c2319175528c188be95beb5733e5ce4 100644 (file)
@@ -318,7 +318,7 @@ void TmModuleJsonTlsLogRegister (void)
     tmm_modules[TMM_JSONTLSLOG].flags = TM_FLAG_LOGAPI_TM;
 
     /* register as separate module */
-    OutputRegisterTxModuleWithProgress("JsonTlsLog", "dns-json-log",
+    OutputRegisterTxModuleWithProgress("JsonTlsLog", "tls-json-log",
             OutputTlsLogInit, ALPROTO_TLS, JsonTlsLogger, TLS_HANDSHAKE_DONE,
             TLS_HANDSHAKE_DONE);