diff --git a/src/app-layer-parser.c b/src/app-layer-parser.c index b7de5c0f40..660289e66d 100644 --- a/src/app-layer-parser.c +++ b/src/app-layer-parser.c @@ -795,9 +795,9 @@ void AppLayerParserSetTransactionInspectId(const Flow *f, AppLayerParserState *p tx, idx, flags & STREAM_TOSERVER ? "toserver" : "toclient", detect_flags); } } + idx++; if (!ires.has_next) break; - idx++; } pstate->inspect_id[direction] = idx; SCLogDebug("inspect_id now %"PRIu64, pstate->inspect_id[direction]);