Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how can I add a column called source and assign it a value from ProtoField?

By doing it somewhere other than in the code. :-)

That's a UI function; in the Wireshark preferences, select "Columns", add a column with the "+" button, give it whatever title you want (Source, or whatever), give it a type of "Custom", and in "Fields" give it the name of the field, e.g. "".