Thanks Pascal, I did this: pi = proto_tree_add_item(tree, proto_transum, tvb, 0, -1, ENC_NA); rte_tree = proto_item_add_subtree(pi, ett_transum); It works a treat. It also fixed a problem I had where right clicking on the tree header and choosing Protocol Preferences failed to
show the preference settings. Thanks and regards…Paul From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx]
On Behalf Of Pascal Quantin Hi Paul, 2016-09-18 19:01 GMT+02:00 Paul Offord <Paul.Offord@xxxxxxxxxxxx>:
You need to add a line at the beginning of the main dissection function.
Note that there is an issue with this changeset, that is a followup of changeset 17757 that you abandoned, and not a full standalone patch adding all the transum code. Pascal. ______________________________________________________________________ This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Advance Seven Ltd. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. Advance Seven Ltd. Registered in England & Wales numbered 2373877 at Endeavour House, Coopers End Lane, Stansted, Essex CM24 1SJ ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ |
- References:
- [Wireshark-dev] Protocol filter
- From: Paul Offord
- Re: [Wireshark-dev] Protocol filter
- From: Pascal Quantin
- [Wireshark-dev] Protocol filter
- Prev by Date: Re: [Wireshark-dev] Protocol filter
- Next by Date: [Wireshark-dev] Code complexity survey
- Previous by thread: Re: [Wireshark-dev] Protocol filter
- Next by thread: [Wireshark-dev] Code complexity survey
- Index(es):