Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal packet-rlogin.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: Sun, 6 Aug 2000 00:19:31 -0500 (CDT)
guy         2000/08/06 00:19:28 CDT

  Modified files:
    .                    packet-rlogin.c 
  Log:
  There is *no* guarantee that the "fd" argument to a dissector uniquely
  identifies a frame; it may do so for Ethereal, which has to allocate a
  data structure for each frame, but it doesn't do so for Tethereal, which
  looks at a frame once and never does so again.
  
  Use, instead, the "num" member of the structure to which "fd" points as
  a unique identifier; it's the ordinal number of the frame within a
  capture (frame number, not display row number, so it doesn't change as
  the display is filtered), and is thus different for all frames.
  
  Revision  Changes    Path
  1.4       +6 -11     ethereal/packet-rlogin.c