From: Philippe Antoine Date: Fri, 21 Jun 2024 07:27:50 +0000 (+0200) Subject: detect/icmp: require real packet in signature X-Git-Tag: suricata-8.0.0-beta1~1124 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b831e6751f3e9d3bd6dc85e4fe03734ad4e3fff;p=thirdparty%2Fsuricata.git detect/icmp: require real packet in signature Fixes: 956c8bebd1 ("detect/prefilter: use sig mask to exclude pkt engines") --- diff --git a/src/detect-icmp-seq.c b/src/detect-icmp-seq.c index 321517fbcb..bb0831c650 100644 --- a/src/detect-icmp-seq.c +++ b/src/detect-icmp-seq.c @@ -249,6 +249,7 @@ static int DetectIcmpSeqSetup (DetectEngineCtx *de_ctx, Signature *s, const char de_ctx, s, DETECT_ICMP_SEQ, (SigMatchCtx *)iseq, DETECT_SM_LIST_MATCH) == NULL) { goto error; } + s->flags |= SIG_FLAG_REQUIRE_PACKET; return 0;