Wireshark-dev: [Wireshark-dev] Using col_set_str(pinfo->cinfo, COL_PROTOCOL, "some_string") but
Date Prev · Date Next · Thread Prev · Thread Next
From: Richard Sharpe <realrichardsharpe@xxxxxxxxx>
Date: Sat, 1 Jul 2017 08:30:33 -0700
Hi folks,

In a sub-dissector I am writing I have the following:

   col_set_str(pinfo->cinfo, COL_PROTOCOL, "some_string");

The sub-dissector is called from the 802.11 dissector and calls itself
wlan frames.

Everything builds and the particular frames of interest show up as
"some_string" in the Protocol column, but I cannot filter on
some_string. No frames/packets show up. However, if I filter on wlan
the packets show up, and if I filter on fields in the packets labeled
"some_string.some_other_string" the packets show up.

Is there something more I need to do to make this work?

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)