Wireshark-commits: [Wireshark-commits] rev 32199: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Mon, 15 Mar 2010 21:37:06 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=32199

User: guy
Date: 2010/03/15 02:37 PM

Log:
 tvb_length() is *not* the length of the packet; it's the amount of
 captured data for the packet, which could well be less then the length
 of the packet if a slice/snapshot length was used. 
 tvb_reported_length() is the length as the packet appeared on the
 {wire,air}.
 
 If a > b, and you want to report how much a was greater than b, subtract
 b from a, don't take the negative of b-a, especially if a and b are
 unsigned....

Directory: /trunk/epan/dissectors/
  Changes    Path             Action
  +6 -6      packet-gvcp.c    Modified