Wireshark-commits: [Wireshark-commits] rev 36304: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Thu, 24 Mar 2011 02:10:09 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=36304

User: morriss
Date: 2011/03/23 07:10 PM

Log:
 If we've already seen a segment which starts a multi-segment pdu (i.e., it's
 a retransmission), don't add it to the list (tree) of multi-segment pdus.
 
 Otherwise, if we'd already seen the rest of the pdu and the other segments
 were not retransmitted, the retransmission would break dissection of the pdu
 because lookups for the segment would find the retransmission (to which the
 other segments were not attached).
 
 Since we know this segment is a retransmission, don't bother handing it off
 to the subdissector either.
 
 Use PINFO_FD_VISITED().
 Add some white space in the desegmentation routine to improve readability.
 
 Apply the same changes to the SSL dissector.

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +130 -112  packet-ssl.c    Modified
  +151 -129  packet-tcp.c    Modified