]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect: fix stateful drops for rate_filter
authorVictor Julien <vjulien@oisf.net>
Thu, 1 Jun 2023 06:00:54 +0000 (08:00 +0200)
committerVictor Julien <vjulien@oisf.net>
Fri, 2 Jun 2023 09:21:47 +0000 (11:21 +0200)
src/detect-engine-alert.c

index 3a23b686025da5384737ef66199ebf291ad97b7b..f9cbed1564c527195a5f5a5580703ac38fb42522 100644 (file)
@@ -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);