diff --git a/src/detect-engine-alert.c b/src/detect-engine-alert.c index 2e2b417e1b..5c0cd6cafe 100644 --- a/src/detect-engine-alert.c +++ b/src/detect-engine-alert.c @@ -189,10 +189,8 @@ static inline void RuleActionToFlow(const uint8_t action, Flow *f, const bool fw (action & ACTION_PASS) ? "pass" : "drop", (f->flags & FLOW_ACTION_DROP) ? "drop" : "pass"); } else { - if (action & (ACTION_DROP | ACTION_REJECT_ANY)) { - f->flags |= FLOW_ACTION_DROP; - SCLogDebug("setting flow action drop"); - } + f->flags |= FLOW_ACTION_DROP; + SCLogDebug("setting flow action drop"); } }