From 32ed74e83da2301d25c22c19064abf0f36bab83c Mon Sep 17 00:00:00 2001 From: Martin Mathieson Date: Thu, 20 Sep 2012 10:21:04 +0000 Subject: Shouldn't set the time in seek_read() after all. At least the pcap support doesn't. svn path=/trunk/; revision=45022 --- wiretap/catapult_dct2000.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'wiretap/catapult_dct2000.c') diff --git a/wiretap/catapult_dct2000.c b/wiretap/catapult_dct2000.c index 9fbf23bead..cec4857eb0 100644 --- a/wiretap/catapult_dct2000.c +++ b/wiretap/catapult_dct2000.c @@ -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 */ -- cgit v1.2.1