Wireshark-bugs: [Wireshark-bugs] [Bug 1340] text2pcap doesn't handle 'timeft' option under Windo

Date: Fri, 2 Feb 2007 03:13:27 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1340





------- Comment #1 from wmeier@xxxxxxxxxxx  2007-02-02 03:13 GMT -------
Works for me...  :)

(Can you attach a short example of a text file which results in timestamps of
0:0:0.0 ?)

(On Windows XP using the hex and timestamp from the text2pcap man page)

$type t2pt.txt
10:15:14.5476
           000000 00 e0 1e a7 05 6f 00 10 ........
           000008 5a a0 b9 12 08 00 46 00 ........
           000010 03 68 00 00 00 00 0a 2e ........
           000018 ee 33 0f 19 08 7f 0f 19 ........
           000020 03 80 94 04 00 00 10 01 ........
           000028 16 a2 0a 00 03 50 00 0c ........
           000030 01 01 0f 19 03 80 11 01 ........

$text2pcap -t "%H:%M:%S."  t2pt.txt foot.pcap
Input from: t2pt.txt
Output to: foot.pcap
Wrote packet of 56 bytes at 0
Read 1 potential packets, wrote 1 packets

$tshark -tad -r foot.pcap
  1 1970-01-01 10:15:14.547600  15.25.8.127 -> 15.25.3.128    RSVP 56 PATH
Message. [Malformed Packet]


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.