ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-users: [Ethereal-users] Timestamp in text2pcap

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Thu, 26 Jan 2006 11:04:29 -0500
Hello,
 
I'm using text2pcap to read a hex dump from a signaling card. I tried to use the -t to read the timestamp and add it to the pcap file.
 
This is a portion of the text(dumpfile):
10:44:22.490 0000   A7 97 00
10:44:22.491 0000   A7 97 00
10:44:22.492 0000   A7 97 00
10:44:22.492 0000   A7 97 00
10:44:22.493 0000   A7 97 00
10:44:22.494 0000   A7 97 00
 
And this is what I'm calling from the command line:
text2pcap.exe -l 140 -t "%H:%M:%S." -d mytest.log mytest.pcap
 
I expected to be able to read the proper arrival time in Ethereal, but all I got was:
 
Arrival Time: Dec 31, 1969 19:00:00.0000000
 
Could someone give me some hints about how to do that right??
 
Thanks in advance,
 
Ariel.

--
Ariel Mauricio Núñez Gómez