Wireshark-dev: [Wireshark-dev] [PATCH] Fix for bug 1056 (Timestamping seems to be broken)

From: Sake Blok <sake@xxxxxxxxxx>
Date: Sun, 20 May 2007 13:35:09 +0200
Hi,

I wrote a patch that fixes bug 1056. Wireshark and tshark checked
for a first frame by comparing the absolute time against 0. If
the first frame(s) in a capture had absolute time 0, the relative
times were calculated against the frame with a non-zero absolute
time.

I used a specific value to mark the relative times and created a
set and a test function to use instead of nstime_set_zero and
nstime_is_zero. See the patch for details.

I tested this patch on FC4 with the tracefile provided on bugzilla.

Please find the patch attached on bugzilla, ready for review :-)

Cheers,


Sake