detect/icmp: require real packet in signature

Fixes: 956c8bebd1 ("detect/prefilter: use sig mask to exclude pkt engines")
pull/11353/head
Philippe Antoine 2 years ago committed by Victor Julien
parent 0a953fe1ce
commit 8b831e6751

@ -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) { de_ctx, s, DETECT_ICMP_SEQ, (SigMatchCtx *)iseq, DETECT_SM_LIST_MATCH) == NULL) {
goto error; goto error;
} }
s->flags |= SIG_FLAG_REQUIRE_PACKET;
return 0; return 0;

Loading…
Cancel
Save