Wireshark mailing list archives

custom columns in dissector


From: "Andreas Schuler" <krater () badterrorist com>
Date: Tue, 1 Jun 2010 22:27:28 +0200 (CEST)

hi,

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.

i tried to set static values over the hf_register_info.hf_info.strings,
that works, but sometimes i need different string for different packets in
the same column.

any suggestions ?


___________________________________________________________________________
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: