Wireshark-bugs: [Wireshark-bugs] [Bug 3267] Solaris snoop files unsupported

Date: Wed, 18 Feb 2009 23:25:13 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3267





--- Comment #1 from Jaap Keuter <jaap.keuter@xxxxxxxxx>  2009-02-18 23:25:12 PDT ---
The snoop version number is stored in network order in the file (00 00 00 02
hex). When libwiretap/snoop reads the bytes it convert them to host order
(using g_ntohl) before checking that it is a supported version. On a little
endian machine without conversion the version number would show up as 02000000
(hex), which is 33445532 (dec). Look familiar? So there seems to be a endianess
problem in your build.

Btw: I load the given sample capture fine on Debian GNU/Linux i686


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