Shouldn't set the time in seek_read() after all. At least the pcap

support doesn't.

svn path=/trunk/; revision=45022
This commit is contained in:
Martin Mathieson 2012-09-20 10:21:04 +00:00
parent 8f0d5f99c6
commit 32ed74e83d
1 changed files with 0 additions and 8 deletions

View File

@ -505,14 +505,6 @@ catapult_dct2000_seek_read(wtap *wth, gint64 seek_off,
/* Make sure all packets go to catapult dct2000 dissector */
wth->phdr.pkt_encap = WTAP_ENCAP_CATAPULT_DCT2000;
/* Fill in timestamp (capture base + packet offset) */
wth->phdr.ts.secs = file_externals->start_secs + seconds;
if ((file_externals->start_usecs + useconds) >= 1000000) {
wth->phdr.ts.secs++;
}
wth->phdr.ts.nsecs =
((file_externals->start_usecs + useconds) % 1000000) *1000;
/*********************/
/* Write stub header */