Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/wiretap file.c libpcap.c wtap.h
guy 2001/11/05 19:55:15 CST
Modified files:
wiretap file.c libpcap.c wtap.h
Log:
Add in some heuristics to try to detect AIX libpcap format. (This works
with one capture I've seen, but perhaps that was done with an old
version of AIX, and newer versions use a minor version number, in the
file, of 4.
However, libpcap hasn't used a minor version of 2 for ages, so perhaps
AIX hasn't updated their libpcap in ages, and aren't about to do so
soon. If they do, let's hope they change the magic number. The capture
file in question *does* have the capture length and real length in the
old, pre-2.3, order, so it really looks as if it's an old version,
rather than IBM trying to be "helpful" by using a different minor
version number so that you can distinguish between normal libpcap and
AIX libpcap formats.)
Revision Changes Path
1.73 +5 -1 ethereal/wiretap/file.c
1.54 +63 -2 ethereal/wiretap/libpcap.c
1.93 +25 -24 ethereal/wiretap/wtap.h