Re: [Wireshark-dev] question on validation of a dissected string from a BASE_CUSTOM hf item

2023-09-12 Thread John Thacker
In general you don't want to do that, if your goal is to create an expert info. The string would not exist and thus the Expert Info would not show in the "Analyze -> Expert Information" dialog, or in other situations where the tree was not visible and the item was faked; you might have to specifica

Re: [Wireshark-dev] question on validation of a dissected string from a BASE_CUSTOM hf item

2023-09-12 Thread John Thacker
You may have noticed "proto_tree_add_item_ret_display_string()" and perhaps found that it doesn't do what you want; it produces the display string for a default display representation and doesn't use your custom function. (Perhaps it should?) On Tue, Sep 12, 2023, 10:05 AM John Thacker wrote: >