Skip to content

Commit

Permalink
tls: do not break custom fields when enabling JA4
Browse files Browse the repository at this point in the history
Ticket: 7286
  • Loading branch information
satta authored and victorjulien committed Sep 28, 2024
1 parent db5a7a2 commit 38bb31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/output-json-tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ static OutputTlsCtx *OutputTlsInitCtx(ConfNode *conf)
/* In 7.0.x, ja4 hash is only logged when requested */
const char *ja4 = ConfNodeLookupChildValue(conf, "ja4");
if (ja4 && ConfValIsTrue(ja4)) {
tls_ctx->fields = LOG_TLS_FIELD_JA4;
tls_ctx->fields |= LOG_TLS_FIELD_JA4;
}

const char *session_resumption = ConfNodeLookupChildValue(conf, "session-resumption");
Expand Down

0 comments on commit 38bb31e

Please sign in to comment.