From 8b831e6751f3e9d3bd6dc85e4fe03734ad4e3fff 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 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; -- 2.47.2