From 6f9a2fcd58f4b10c43cc265a49d145dca285370f Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 22 May 2014 12:39:12 +0200 Subject: [PATCH] flow: log individual tcp flags Log the tcp flags. --- src/output-json-flow.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/output-json-flow.c b/src/output-json-flow.c index 685010ef1d..d5f51593e0 100644 --- a/src/output-json-flow.c +++ b/src/output-json-flow.c @@ -234,6 +234,8 @@ static void JsonFlowLogJSON(JsonFlowLogThread *aft, json_t *js, Flow *f) ssn ? ssn->server.tcp_flags : 0); json_object_set_new(tjs, "tcp_flags_tc", json_string(hexflags)); + JsonTcpFlags(ssn ? ssn->tcp_packet_flags : 0, tjs); + json_object_set_new(js, "tcp", tjs); } }