From ace8f9f5df3ea7ca87d2fdae934dd29ca70c1a2c Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 25 Aug 2016 13:04:15 +0200 Subject: [PATCH] detect-flow: prefilter extra match support --- src/detect-flow.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/detect-flow.c b/src/detect-flow.c index 78032cd005..cec40b78db 100644 --- a/src/detect-flow.c +++ b/src/detect-flow.c @@ -351,6 +351,9 @@ PrefilterPacketFlowMatch(DetectEngineThreadCtx *det_ctx, Packet *p, const void * { const PrefilterPacketHeaderCtx *ctx = pectx; + if (PrefilterPacketHeaderExtraMatch(ctx, p) == FALSE) + return; + if (FlowMatch(p->flowflags, det_ctx->flags, ctx->v1.u8[0], ctx->v1.u8[1])) { PrefilterAddSids(&det_ctx->pmq, ctx->sigs_array, ctx->sigs_cnt);