From 67f0696edaf2447280db23771df9aacb0fc88cbd Mon Sep 17 00:00:00 2001 From: Jaap Keuter Date: Wed, 28 Apr 2010 08:19:39 +0000 Subject: [PATCH] From jmmikkel: Set the sequence number for the next PDU if the current frame contains both the finish of the previous and the complete next one. svn path=/trunk/; revision=32585 --- epan/dissectors/packet-tcp.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/epan/dissectors/packet-tcp.c b/epan/dissectors/packet-tcp.c index 292f598d07..4530ff303d 100644 --- a/epan/dissectors/packet-tcp.c +++ b/epan/dissectors/packet-tcp.c @@ -1600,6 +1600,14 @@ again: contain a continuation of a higher-level PDU. Call the normal subdissector. */ + + /* + * Supply the sequence number of this segment. We set this here + * because this segment could be after another in the same packet, + * in which case seq was incremented at the end of the loop. + */ + tcpinfo->seq = seq; + process_tcp_payload(tvb, offset, pinfo, tree, tcp_tree, sport, dport, 0, 0, FALSE, tcpd); called_dissector = TRUE; -- 2.34.1