This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Is it possible to use col_set_str for custom columns?

0

Is it possible to use col_set_str for custom columns? If yes, how?

This question is marked "community wiki".

asked 23 Sep '11, 03:01

flashkicker's gravatar image

flashkicker
109131919
accept rate: 41%

edited 24 Sep '11, 15:26

helloworld's gravatar image

helloworld
3.1k42041


2 Answers:

0

static const value_string[] function solved my problem ...I wanted to have string in pane1 for my customn columns and after a bit of research i found out the solution...Thanks for your help !!

answered 26 Sep '11, 23:09

flashkicker's gravatar image

flashkicker
109131919
accept rate: 41%

1

No, the idea is that you use proto_tree_add_item() where the display filter expression is used to in the definition of the custom column.

answered 23 Sep '11, 12:26

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%