Ethereal-dev: [Ethereal-dev] follow-tcp

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Edgar Iglesias <edgar.iglesias@xxxxxxxx>
Date: Sun, 29 Apr 2001 14:52:46 +0200 (CEST)
Hi,

Sometime ago I ran in to some problems with a large tcp trace.
I was using the follow-tcp plugin ( a great feature btw ) to
pull out the session between my two endpoints. It turns out
ethereal was producing incorrect output.

I checked out the cocde from your cvs repsoitory and did some
debugging. The problem is when reassembling tcp packets with
retransmitted data.

I would like to apply the following patch to correct the problem. 

Best regards,
Edgar Iglesias


Index: follow.c
===================================================================
RCS file: /cvsroot/ethereal/follow.c,v
retrieving revision 1.26
diff -b -u -r1.26 follow.c
--- follow.c    2000/08/24 21:05:16     1.26
+++ follow.c    2001/04/29 12:50:11
@@ -223,6 +223,7 @@
        data += new_len;
        data_length -= new_len;
       }
+      sc.dlen = data_length;
       sequence = seq[src_index];
       length = newseq - seq[src_index];