Wireshark-commits: [Wireshark-commits] rev 24296: /trunk/wiretap/ /trunk/wiretap/: ngsniffer.c wtap
Date: Sun, 10 Feb 2008 18:29:10 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=24296

User: guy
Date: 2008/02/10 06:29 PM

Log:
 Do the time calculations with 64-bit integers, rather than in floating
 point, so we don't have issues with numbers not being exactly
 representable; that makes it less likely that the change described below
 will change a time stamp if it's not fixing the time stamp (i.e., if
 time_day is 0).
 
 The Sniffer manual "Expert Sniffer(R) Network Analyzer Operations,
 Release 5.50" says that a frame2_rec has a time stamp with an 8-bit
 time_high field and an 8-bit time_day field.  Interpreting the time
 stamp that way fixes the time stamps in at least some captures; see, for
 example, bug 2251.
 
 Fix/update some comments (for example, the Sniffer documentation is no
 longer at that URL).

Directory: /trunk/wiretap/
  Changes    Path           Action
  +110 -52   ngsniffer.c    Modified
  +1 -1      wtap-int.h     Modified