From ef3840e256ce0afe8e7cbda8f98424b53edfa6e9 Mon Sep 17 00:00:00 2001 From: Jeff Lucovsky Date: Mon, 29 Jun 2020 09:50:53 -0400 Subject: [PATCH] output/dhcp: Include common output options This commit will cause common metadata values and the community id to be included in log output when configured. --- src/output-json-dhcp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/output-json-dhcp.c b/src/output-json-dhcp.c index 183d3d08f1..ecdd9d237c 100644 --- a/src/output-json-dhcp.c +++ b/src/output-json-dhcp.c @@ -81,6 +81,7 @@ static int JsonDHCPLogger(ThreadVars *tv, void *thread_data, goto fail; } + EveAddCommonOptions(&thread->dhcplog_ctx->cfg, p, f, js); MemBufferReset(thread->buffer); OutputJsonBuilderBuffer(js, thread->dhcplog_ctx->file_ctx, &thread->buffer); jb_free(js);