From a270dfa008f2d5c19f8c571fd4a4139ffc3df7ad Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 25 Aug 2016 15:12:51 +0200 Subject: [PATCH] detect-id: extra match support --- src/detect-id.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/detect-id.c b/src/detect-id.c index 5034d34db6..5a1b18ec5c 100644 --- a/src/detect-id.c +++ b/src/detect-id.c @@ -247,6 +247,9 @@ PrefilterPacketIdMatch(DetectEngineThreadCtx *det_ctx, Packet *p, const void *pe return; } + if (PrefilterPacketHeaderExtraMatch(ctx, p) == FALSE) + return; + if (IPV4_GET_IPID(p) == ctx->v1.u16[0]) { SCLogDebug("packet matches IP id %u", ctx->v1.u16[0]);