Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/wiretap ngsniffer.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 10 Jan 2003 03:04:46 -0600 (CST)
guy         2003/01/10 03:04:45 CST

  Modified files:
    wiretap              ngsniffer.c 
  Log:
  Rename the "version" argument to "process_header_records()" "maj_vers",
  as it's the major version number.
  
  Try using the first word of "rsvd" to determine whether a capture is an
  ISDN capture or not in version 1 captures.
  
  Version 1 captures look as if they might also have a REC_HEADER2 record
  - it's longer than the ones in version 4 and 5 captures, but it still
  appears to have a network subtype in the 5th byte.
  
  Get rid of the heuristic that checks for WTAP_ENCAP_ISDN by looking at
  the packet data; if we fail to recognize an ISDN capture, we should look
  for stuff in the headers to determine whether the capture is one or not.
  
  Revision  Changes    Path
  1.106     +66 -48    ethereal/wiretap/ngsniffer.c