From: Victor Julien Date: Mon, 13 Mar 2023 13:48:19 +0000 (+0100) Subject: detect/analyzer: add content relative_next flag X-Git-Tag: suricata-7.0.0-rc2~514 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=105dd636cb6e03ffe2805cc2a8ff4a25af6fb1c6;p=thirdparty%2Fsuricata.git detect/analyzer: add content relative_next flag --- diff --git a/src/detect-engine-analyzer.c b/src/detect-engine-analyzer.c index 38780d8a8b..aa2a161021 100644 --- a/src/detect-engine-analyzer.c +++ b/src/detect-engine-analyzer.c @@ -640,6 +640,7 @@ static void DumpContent(JsonBuilder *js, const DetectContentData *cd) jb_set_uint(js, "within", cd->within); } jb_set_bool(js, "fast_pattern", cd->flags & DETECT_CONTENT_FAST_PATTERN); + jb_set_bool(js, "relative_next", cd->flags & DETECT_CONTENT_RELATIVE_NEXT); } static void DumpPcre(JsonBuilder *js, const DetectPcreData *cd)