From Lars Roland: initialize the flags.ref_time field of a frame_data

structure.

svn path=/trunk/; revision=8496
This commit is contained in:
Guy Harris 2003-09-19 04:52:16 +00:00
parent 952f81ed8d
commit 6aed321bb5
2 changed files with 4 additions and 2 deletions

3
file.c
View File

@ -1,7 +1,7 @@
/* file.c
* File I/O routines
*
* $Id: file.c,v 1.314 2003/09/15 23:28:07 guy Exp $
* $Id: file.c,v 1.315 2003/09/19 04:52:15 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -871,6 +871,7 @@ read_packet(capture_file *cf, long offset)
fdata->flags.encoding = CHAR_ASCII;
fdata->flags.visited = 0;
fdata->flags.marked = 0;
fdata->flags.ref_time = 0;
passed = TRUE;
if (cf->rfcode) {

View File

@ -1,6 +1,6 @@
/* tethereal.c
*
* $Id: tethereal.c,v 1.197 2003/09/15 22:48:41 guy Exp $
* $Id: tethereal.c,v 1.198 2003/09/19 04:52:16 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -2119,6 +2119,7 @@ fill_in_fdata(frame_data *fdata, capture_file *cf,
fdata->flags.encoding = CHAR_ASCII;
fdata->flags.visited = 0;
fdata->flags.marked = 0;
fdata->flags.ref_time = 0;
/* If we don't have the time stamp of the first packet in the
capture, it's because this is the first packet. Save the time