diff --git a/src/detect-filemagic.c b/src/detect-filemagic.c index 49b0d125fd..de7e8cf9f5 100644 --- a/src/detect-filemagic.c +++ b/src/detect-filemagic.c @@ -554,6 +554,7 @@ static void PrefilterTxFilemagic(DetectEngineThreadCtx *det_ctx, &det_ctx->mtcu, &det_ctx->pmq, buffer->inspect, buffer->inspect_len); } + local_file_id++; } } } diff --git a/src/detect-filename.c b/src/detect-filename.c index a5ac0b2ae0..a19424758f 100644 --- a/src/detect-filename.c +++ b/src/detect-filename.c @@ -460,6 +460,7 @@ static void PrefilterTxFilename(DetectEngineThreadCtx *det_ctx, &det_ctx->mtcu, &det_ctx->pmq, buffer->inspect, buffer->inspect_len); } + local_file_id++; } } }