ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] custom columns in dissector

From: "Andreas Schuler" <krater@xxxxxxxxxxxxxxxx>
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 ?