]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
eve/dhcp: avoid to call common logging twice
authorEric Leblond <eric@regit.org>
Sun, 2 Aug 2020 16:38:58 +0000 (18:38 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 14 Jan 2021 09:08:41 +0000 (10:08 +0100)
(cherry picked from commit 8d034b4163df9b5233f03d8b1dd88e42268c5d07)

src/output-json-dhcp.c

index 273ba806a596968d292b0f3307d280169b18350c..b1b43c4a7a17cebfef865ea4c55085b5272c0ece 100644 (file)
@@ -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);