From 418cc1fe947dd96a6cadb13fa1fbb5c9d5fb7ce0 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 1 Jun 2023 08:00:54 +0200 Subject: [PATCH] detect: fix stateful drops for rate_filter --- src/detect-engine-alert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);