From: Jeff Lucovsky Date: Mon, 29 Jun 2020 13:50:53 +0000 (-0400) Subject: output/dhcp: Include common output options X-Git-Tag: suricata-6.0.0-beta1~298 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef3840e256ce0afe8e7cbda8f98424b53edfa6e9;p=thirdparty%2Fsuricata.git 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. --- 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);