Wireshark mailing list archives
Re: custom columns in dissector
From: Stephen Fisher <steve () stephen-fisher com>
Date: Wed, 2 Jun 2010 13:55:01 -0600
On Tue, Jun 01, 2010 at 10:27:28PM +0200, Andreas Schuler wrote:
i'm writing a dissector and want to use custom columns for displaying some dynamic generated informations, but when i use proto_tree_add_none_format() the column remains empty although in the details the right values will be displayed. other proto_tree_add_... works but only show the value that comes direct from packet-data, no additional text etc.
Are you sure that FT_NONE is the appropriate field type to be using for that? To quote README.developer, "No field type. Used for fields that aren't given a value, and that can only be tested for presence or absence..." - so there wouldn't be anything to be displayed in the custom column. What are the dynamic values you are displaying? -- Steve ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- custom columns in dissector Andreas Schuler (Jun 01)
- Re: custom columns in dissector Stephen Fisher (Jun 02)
- Re: custom columns in dissector Andreas Schuler (Jun 02)
- custom columns in dissector Andreas Schuler (Jun 09)
- Re: custom columns in dissector Jeff Morriss (Jun 09)
- Re: custom columns in dissector Andreas Schuler (Jun 11)
- Re: custom columns in dissector Andreas Schuler (Jun 02)
- Re: custom columns in dissector Stephen Fisher (Jun 02)
