Wireshark-commits: [Wireshark-commits] rev 21730: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Tue, 08 May 2007 19:11:37 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=21730

User: sfisher
Date: 2007/05/08 07:11 PM

Log:
 Fix for bug #1532 -
 
 From Kenneth Golomb:
 
 Fixes two issues:
 1) interface_name is allocated iface_len+1 bytes but a buffer length of iface
 len is passed in when the string is copied.  This truncates the string to 9
 characters if the interface_name is 10 characters long.
 
 2) interface_name added to tree with proto_tree_add_string_format and is
 missing the initial value parameter when called.  Even if this is added the
 field can not be filtered on.  Adding the field with proto_tree_add_item fixes
 both the tree display and the filtering issues.

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +2 -2      packet-fw1.c    Modified