Wireshark-commits: [Wireshark-commits] rev 39392: /trunk/wiretap/ /trunk/wiretap/: file_access.c ne

Date: Wed, 12 Oct 2011 18:04:58 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=39392

User: wmeier
Date: 2011/10/12 11:04 AM

Log:
 From Robert Bullen: Fix for: Two minor bugs in Wiretap library:
 
 First bug: The Network Instruments Observer file format abbreviation is
 incorrect. It is "niobserverv" instead of "niobserver", which is probably a
 vestige from 1.4 when the abbreviation was "niobserverv9".
 
 Second bug: The packet header magic number field is correctly swapped the first
 time when reading the entire packet header. It is incorrectly swapped yet again
 when reporting an invalid value. Both swaps use GUINT_FROM_LE, which is a no-op
 on little-endian platforms. But the error message that is displayed to users of
 big-endian platforms will contain a byte-reversed value.

Directory: /trunk/wiretap/
  Changes    Path                     Action
  +1 -1      file_access.c            Modified
  +11 -11    network_instruments.c    Modified