eve/dhcp: avoid to call common logging twice

pull/5693/head
Eric Leblond 5 years ago committed by Victor Julien
parent 9d432bbab3
commit 8d034b4163

@ -78,7 +78,6 @@ static int JsonDHCPLogger(ThreadVars *tv, void *thread_data,
rs_dhcp_logger_log(ctx->rs_logger, tx, js);
EveAddCommonOptions(&thread->dhcplog_ctx->cfg, p, f, js);
MemBufferReset(thread->buffer);
OutputJsonBuilderBuffer(js, thread->file_ctx, &thread->buffer);
jb_free(js);

Loading…
Cancel
Save