Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/wiretap pppdump.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Jul 2002 03:45:33 -0500 (CDT)
guy         2002/07/15 03:45:33 CDT

  Modified files:
    wiretap              pppdump.c 
  Log:
  Redo the way random access is handled.  Save, for each packet, the
  offset of the beginning of the first record containing data from that
  packet, and the offset from the first byte of data in that record of the
  first byte of data from that packet; to read a given packet, seek to the
  offset of the first record, and keep processing packets until we find
  one with the right direction.
  
  This fixes a problem where it wasn't correctly reading the packet, when
  doing random access, in cases where you have a sequence of records that
  stop in the middle of a packet.
  
  Revision  Changes    Path
  1.21      +229 -119  ethereal/wiretap/pppdump.c