From: Victor Julien Date: Thu, 1 Jun 2023 06:00:54 +0000 (+0200) Subject: detect: fix stateful drops for rate_filter X-Git-Tag: suricata-7.0.0-rc2~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=418cc1fe947dd96a6cadb13fa1fbb5c9d5fb7ce0;p=thirdparty%2Fsuricata.git detect: fix stateful drops for rate_filter --- diff --git a/src/detect-engine-alert.c b/src/detect-engine-alert.c index 3a23b68602..f9cbed1564 100644 --- a/src/detect-engine-alert.c +++ b/src/detect-engine-alert.c @@ -334,7 +334,7 @@ static inline void FlowApplySignatureActions( * - sig is IP or PD only * - match is in applayer * - match is in stream */ - if (s->action & (ACTION_DROP | ACTION_PASS)) { + if (pa->action & (ACTION_DROP | ACTION_PASS)) { DEBUG_VALIDATE_BUG_ON(s->type == SIG_TYPE_NOT_SET); DEBUG_VALIDATE_BUG_ON(s->type == SIG_TYPE_MAX);