Move the version number checking for libpcap files, to see whether to
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 24 Oct 2003 23:55:34 +0000 (23:55 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 24 Oct 2003 23:55:34 +0000 (23:55 +0000)
commitb9cd7de5c6b71bbb725d9f7ab489ee8070957dad
treed980269fc67ca89e23badd3303b0efa38e9ef17e
parente3aa4cfdc0b35dc4bb8fe842b6bf305e2242fbef
Move the version number checking for libpcap files, to see whether to
swap the "captured length" and "length" fields, to the open-file code;
store a tri-state (definitely swapped, definitely not swapped, maybe
swapped) value in the per-capture-file-format information for libpcap
format, and use that when processing packets.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8774 f5534014-38df-0310-8fa8-9805f1628bb7
wiretap/libpcap.c
wiretap/wtap-int.h