Wireshark-bugs: [Wireshark-bugs] [Bug 1870] new protocol dissector for the protocol PCE
Date: Fri, 28 Sep 2007 08:53:30 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1870





------- Comment #7 from silviacristina.tejedor@xxxxxxxxx  2007-09-28 08:53 GMT -------
(In reply to comment #6)
> (From update of attachment 959 [details])
> Why is virtually everything constructed with proto_tree_add_text? This makes
> filtering a problem. proto_tree_add_item() and working with the hf items is
> preferable.
> 
I have to use proto_tree_add_item() every time I create a new item?
For example, when I do:

ti = proto_tree_add_text(pce_tree, tvb, offset, 4, "PCE %s Header.",
val_to_str(message_type, message_type_vals, "Unknown Message (%u). "));

it's better that I utilize proto_tree_add_item?

Thanks for your help.



-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.