From 1657948fc07202aaf8a9a4502e918d612b7fc29d Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Fri, 21 Jun 2024 09:27:50 +0200 Subject: [PATCH] detect/icmp: require real packet in signature Fixes: 956c8bebd1 ("detect/prefilter: use sig mask to exclude pkt engines") --- src/detect-icmp-seq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/detect-icmp-seq.c b/src/detect-icmp-seq.c index 321517fbcb8e..bb0831c65064 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;