diff --git a/src/detect.c b/src/detect.c index 5b511ffaa662..338806d0c5da 100644 --- a/src/detect.c +++ b/src/detect.c @@ -782,7 +782,7 @@ static inline void DetectRulePacketRules( } /* skip pkt sigs for flow end packets */ - if ((p->flags & PKT_PSEUDO_STREAM_END) != 0 && s->type == SIG_TYPE_PKT) + if ((p->flags & PKT_PSEUDO_STREAM_END) != 0 && (s->type == SIG_TYPE_PKT || s->type == SIG_TYPE_APPLAYER)) goto next; /* don't run mask check for stateful rules.