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

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

From: "Gilbert Ramirez Jr." <gram@xxxxxxxxxxxx>
Date: Thu, 18 Nov 1999 23:48:25 -0600 (CST)
gram        1999/11/18 23:48:23 CST

  Modified files:
    wiretap              iptrace.c 
  Log:
  Add comments showing IFT names for the IFT-to-Wiretap encapsulation array.
  
  If a interface type is not recognized, set error to WTAP_ERR_UNSUPPORTED
  instead of WTAP_BAD_RECORD.
  
  Continue to check for X.25, FDDI, and loopback traces via the interface
  name instead of the newly-discovered if_type field in the packet header.
  Once Olivier confirms that his traces still work by checking only if_type,
  I'll change the code. But he's on vacation right now. ATM, Ethernet, and
  Token-Ring are discovered via the if_type field.
  
  Revision  Changes    Path
  1.19      +55 -40    ethereal/wiretap/iptrace.c