Calculate correct io->start_time.

This fixes bug 5340.

svn path=/trunk/; revision=34661
This commit is contained in:
Stig Bjørlykke 2010-10-27 07:45:31 +00:00
parent 321188339e
commit e111567e7e
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ tap_iostat_packet(void *g, packet_info *pinfo, epan_dissect_t *edt, const void *
/* set start time */
if(git->io->start_time.secs == 0 && git->io->start_time.nsecs == 0) {
git->io->start_time = pinfo->fd->abs_ts;
nstime_diff (&git->io->start_time, &pinfo->fd->abs_ts, &pinfo->fd->rel_ts);
}
/* set first and last frame num in current interval */