Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-tcp.c

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

From: Ronnie Sahlberg <sahlberg@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 26 Mar 2003 02:00:25 -0600 (CST)
sahlberg    2003/03/26 02:00:25 CST

  Modified files:
    .                    packet-tcp.c 
  Log:
  Fixed a small bug in tcp sequence number analysis.
  
  FIN flag would previously only add one to the sequence number if the
  FIN packet was empty, i.e. did not carry any payload data.
  
  This caused ethereal to incorrectly flag the ACK to such packets
  (FIN+payload data) to be incorrectly flagged as
  ACK to previously lost segment.
  
  Change the algorithm to always add 1 to the segment length, and thus the sequence number for all packets with teh FIN bit set.
  
  Revision  Changes    Path
  1.187     +9 -7      ethereal/packet-tcp.c