detect: no tcp flags in mask for pseudo packets

pull/3108/head
Victor Julien 9 years ago
parent 0b97fbbc13
commit aac15854b4

@ -421,7 +421,7 @@ PacketCreateMask(Packet *p, SignatureMask *mask, AppProto alproto,
(*mask) |= SIG_MASK_REQUIRE_ENGINE_EVENT;
}
if (PKT_IS_TCP(p)) {
if (!(PKT_IS_PSEUDOPKT(p)) && PKT_IS_TCP(p)) {
if ((p->tcph->th_flags & MASK_TCP_INITDEINIT_FLAGS) != 0) {
(*mask) |= SIG_MASK_REQUIRE_FLAGS_INITDEINIT;
}

Loading…
Cancel
Save