Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/wiretap libpcap.c wtap-int.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxx>
Date: Fri, 24 Oct 2003 18:55:34 -0500 (CDT)
guy         2003/10/24 18:55:34 CDT

  Modified files:
    wiretap              libpcap.c wtap-int.h 
  Log:
  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.
  
  Revision  Changes    Path
  1.100     +54 -21    ethereal/wiretap/libpcap.c
  1.41      +8 -1      ethereal/wiretap/wtap-int.h