diff --git a/src/detect-engine-analyzer.c b/src/detect-engine-analyzer.c index a37afabb0f00..e2da86b8a55a 100644 --- a/src/detect-engine-analyzer.c +++ b/src/detect-engine-analyzer.c @@ -45,6 +45,7 @@ #include "util-time.h" #include "util-validate.h" #include "util-conf.h" +#include "detect-tcp-ack.h" static int rule_warnings_only = 0; @@ -861,6 +862,14 @@ static void DumpMatches(RuleAnalyzer *ctx, JsonBuilder *js, const SigMatchData * jb_close(js); break; } + case DETECT_ACK: { + const DetectAckData *cd = (const DetectAckData *)smd->ctx; + + jb_open_object(js, "ack"); + jb_set_uint(js, "ack", cd->ack); + jb_close(js); + break; + } } jb_close(js);