Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/wiretap ngsniffer.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, 27 Nov 1999 14:46:52 -0600 (CST)
guy         1999/11/27 14:46:49 CST

  Modified files:
    wiretap              ngsniffer.c 
  Log:
  Sigh.  Apparently "Internetwork analyzer" covers a multitude of sins;
  both LAPB and PPP captures get written out with that network type.
  
  Flag it as WTAP_ENCAP_UNKNOWN when the file is opened, and, when we see
  the first packet, check whether the address field is 0xFF, in which case
  we flag it as PPP, or anything else, in which case we flag it as LAPB.
  
  Revision  Changes    Path
  1.26      +35 -6     ethereal/wiretap/ngsniffer.c