http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=45627
User: guy
Date: 2012/10/17 10:20 PM
Log:
Handle the fractions-of-a-second part of the time stamp correctly.
Extract it as a string, not a number, and determine the resolution based
on the length of the string, i.e. on the number of digits presented.
(If you base it on the numerical value, leading zeroes will not be taken
into account, but they aren't any different from other digits when
determining the resolution.) The resolution is 1/10^ndigits seconds, so
we have to multiply it by 10^(9-ndigits) to convert the number to
nanoseconds.
Directory: /trunk/wiretap/
Changes Path Action
+39 -17 iseries.c Modified