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

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sat, 21 Aug 1999 22:50:37 -0500 (CDT)
guy         1999/08/21 22:50:34 CDT

  Modified files:
    wiretap              wtap.h wtap.c libpcap.c 
  Log:
  Fix the pcap-encapsulation-to-wiretap-encapsulation mapping table.
  
  Have the code that opens "libpcap" files for writing check to make sure
  that the Wiretap encapsulation can be written to a "libpcap" file, and
  return -1 and supply a new WTAP_ERR_UNSUPPORTED_ENCAP error code if it
  can't.
  
  Handle that new error code in "wtap_strerror()".
  
  Revision  Changes    Path
  1.33      +10 -7     ethereal/wiretap/wtap.h
  1.17      +2 -1      ethereal/wiretap/wtap.c
  1.13      +11 -2     ethereal/wiretap/libpcap.c