> I'd say this was a byte order problem for sure, except that 942359487 isn't
> anything with low-order zeros in base 16.
It's not a byte order problem. Here is the fix:
diff -c -r1.2 -r1.3
*** libpcap.c 1999/11/11 23:45:19 1.2
--- libpcap.c 1999/11/11 23:45:46 1.3
***************
*** 74,79 ****
--- 74,84 ----
guint32 ts_usec; /* timestamp microseconds */
guint32 incl_len; /* number of octets of packet saved in file */
guint32 orig_len; /* actual length of packet */
+ #ifdef linux
+ gint32 ifindex;
+ guint16 protocol;
+ unsigned char pkt_type;
+ #endif
};
static int libpcap_read(wtap *wth, int *err);
(I'll let you folks supply the right type for pkt_type)
Powered by MHonArc 2.6.10