Ethereal-users: Re: [Ethereal-users] Bug in tethereal - delta time.

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Tue, 31 Oct 2000 00:13:54 -0800
On Tue, Oct 31, 2000 at 06:27:36PM +1100, Jesus M. Salvo Jr. wrote:
> I found a bug in tethereal. It basically has to do with the time delta
> displayed with the -V option.

Apply the attached patch to "tethereal.c" and rebuild.
Index: tethereal.c
===================================================================
RCS file: /usr/local/cvsroot/ethereal/tethereal.c,v
retrieving revision 1.51
diff -c -r1.51 tethereal.c
*** tethereal.c	2000/10/16 23:18:03	1.51
--- tethereal.c	2000/10/31 08:13:34
***************
*** 862,868 ****
       this packet. */
    compute_timestamp_diff(&fdata->del_secs, &fdata->del_usecs,
  		fdata->abs_secs, fdata->abs_usecs, prevsec, prevusec);
-   fdata->del_secs = fdata->abs_secs - prevsec;
    prevsec = fdata->abs_secs;
    prevusec = fdata->abs_usecs;
  
--- 862,867 ----