Ticket: 7495
We want to finish also if we tested all the expected protocols
in mask, or if we tested even more.
There can be one more protocol coming from pe0, which can be
the protocol already found in the other direction.
(cherry picked from commit
b5094b00b62ada4d8825f3c45898fc4c5e9d5b1f)
else if (pp_port_sp)
mask = pp_port_sp->alproto_mask;
- if (alproto_masks[0] == mask) {
+ if ((alproto_masks[0] & mask) == mask) {
FLOW_SET_PP_DONE(f, dir);
SCLogDebug("%s, mask is now %08x, needed %08x, so done",
(dir == STREAM_TOSERVER) ? "toserver":"toclient",