Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/wiretap wtap.h 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: Wed, 18 Aug 1999 12:08:56 -0500 (CDT)
guy         1999/08/18 12:08:52 CDT

  Modified files:
    wiretap              wtap.h libpcap.c 
  Log:
  "wtap_pcap_encap_to_wtap_encap()" shouldn't return a file type if it
  can't translate the encapsulation type, it should return an
  encapsulation type; we add a new one, WTAP_ENCAP_UNKNOWN. and have it
  return that.
  
  Have "capture()" handle "wtap_pcap_encap_to_wtap_encap()" returning that
  encapsulation type (if it happens, we need to add a new Wiretap
  encapsulation type to handle the new "libpcap" encapsulation type).
  
  Revision  Changes    Path
  1.26      +6 -2      ethereal/wiretap/wtap.h
  1.9       +2 -2      ethereal/wiretap/libpcap.c