From: Eric Leblond Date: Sun, 2 Aug 2020 16:38:58 +0000 (+0200) Subject: eve/dhcp: avoid to call common logging twice X-Git-Tag: suricata-7.0.0-beta1~1924 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d034b4163df9b5233f03d8b1dd88e42268c5d07;p=thirdparty%2Fsuricata.git eve/dhcp: avoid to call common logging twice --- diff --git a/src/output-json-dhcp.c b/src/output-json-dhcp.c index 273ba806a5..b1b43c4a7a 100644 --- a/src/output-json-dhcp.c +++ b/src/output-json-dhcp.c @@ -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);