I was always wondering, why I would need to have *two* objects for an item containing a subtree. Doing debugging I realized, that its one and the same object. and both types (proto_tree/proto_item) origin in proto_node. That makes much more sense.

Any objection to use proto_item_append_text() passing proto_tree? It would simply my dissector quite a bit. And are there any objections to even go one step further, and call everything a node my dissector?

David
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to