detect: fix stateful drops for rate_filter

pull/8951/head
Victor Julien 2 years ago
parent 2a95154712
commit 418cc1fe94

@ -334,7 +334,7 @@ static inline void FlowApplySignatureActions(
* - sig is IP or PD only * - sig is IP or PD only
* - match is in applayer * - match is in applayer
* - match is in stream */ * - 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_NOT_SET);
DEBUG_VALIDATE_BUG_ON(s->type == SIG_TYPE_MAX); DEBUG_VALIDATE_BUG_ON(s->type == SIG_TYPE_MAX);

Loading…
Cancel
Save