Wireshark-commits: [Wireshark-commits] rev 35356: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Tue, 04 Jan 2011 07:48:30 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=35356

User: guy
Date: 2011/01/03 11:48 PM

Log:
 Instead of going over the Report segment twice, once to get the fields
 in the segment and once to put them into the protocol tree, just do it
 once.  That also means we don't need to allocate an array for all the
 reception claims, so we don't have to worry about the claim count (other
 than making sure it's non-negative), and that we won't abort the
 dissection until we run past the end of the packet.
 
 (The rest of the dissector should be changed to work that way as well.)

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +40 -76    packet-ltp.c    Modified