Ask Your Question

Revision history [back]

col_set_time(...) in custom dissector not working

Hi guys,

in my custom dissector which is written in C, I try to implement the capture time in the first column. Unfortunately my previous approaches didn't work. Ether with col_set_time(pinfo->cinfo, COL_REL_TIME, &ts, "custom_dissector.time_relative"); nor col_set_time(pinfo->cinfo, COL_ABS_TIME, &ts, "custom_dissector.time_relative"); the time will be displayed. Even with the col_add_str(...) for this column I don't get a result. My question is what is going wrong here? In the dissector readme I can't find any information.

Best regards,

Julian