Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal capture.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:44 -0500 (CDT)
guy         1999/08/18 12:08:42 CDT

  Modified files:
    .                    capture.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.55      +7 -1      ethereal/capture.c