Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal file.c

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

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Thu, 8 Jul 2004 02:45:46 -0500 (CDT)
guy         2004/07/08 02:45:46 CDT

  Modified files:
    .                    file.c 
  Log:
  A read can return WTAP_ERR_UNSUPPORTED_ENCAP if the encapsulation type
  is per-packet and the packet has an encapsulation type we don't know
  about, so handle it on reads as well as errors - show an error message
  noting that we had a packet with a network type we don't know about, and
  show the extra info returned for that error giving details.
  
  It shouldn't return WTAP_ERR_UNSUPPORTED, however, so just give the
  "wtap_strerror()" error for that case.
  
  Revision  Changes    Path
  1.387     +10 -3     ethereal/file.c