forked from osmocom/wireshark
Calculate correct io->start_time.
This fixes bug 5340. svn path=/trunk/; revision=34661
This commit is contained in:
parent
321188339e
commit
e111567e7e
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue