When I look at other dissector's output they use the
proto_tree_add_protocol_format only for indicating that a new protocol is
engaged.

These protocol lines in the tree are also displayed in other colors. That
makes it easy to navigate by eyes. I have a protocol with a lot of
structures inside. What is a good way to colorize theses structure. It would
be good to indicate where a new item in sequence begins. I think the abuse
of the ..._add_protocol would a bad style or probably a bug.

What do you advice?

-- 
Andy




___________________________________________________________________________
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