Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal reassemble.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: Wed, 17 Apr 2002 05:59:59 -0500 (CDT)
guy         2002/04/17 05:59:58 CDT

  Modified files:
    .                    reassemble.c 
  Log:
  In "fragment_add_seq_check()", handle short frames the same way
  regardless of whether they're the first frame we see in a reassembly or
  not - put all but the last fragment into the hash table (so subsequent
  frames with the same reassembly ID don't get misdissected as
  unfragmented frames), return the head of the fragment list for the first
  fragment and NULL for all other fragments (so the first fragment gets
  dissected as a fragmented packet), and unhash the fragment head from the
  reassembly hash table when we see the last fragment.
  
  Revision  Changes    Path
  1.15      +24 -49    ethereal/reassemble.c