Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal packet-lpd.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, 25 Aug 1999 12:38:44 -0500 (CDT)
guy         1999/08/25 12:38:40 CDT

  Modified files:
    .                    packet-lpd.c 
  Log:
  Use END_OF_FRAME rather than "fd->cap_len - offset" - END_OF_FRAME used
  to be just "fd->cap_len - offset", but it's now "pi.captured_len - offset",
  which means that, for a protocol built atop TCP, like LPD, it'll take
  into account the fact that the IP (and thus TCP) data in the packet may
  end before the end of the frame.
  
  Revision  Changes    Path
  1.9       +8 -7      ethereal/packet-lpd.c