Wireshark-dev: Re: [Wireshark-dev] Using col_set_str(pinfo->cinfo, COL_PROTOCOL, "some_string")

From: Richard Sharpe <realrichardsharpe@xxxxxxxxx>
Date: Sat, 1 Jul 2017 11:31:10 -0700
On Sat, Jul 1, 2017 at 10:20 AM, Darien Spencer <cusneud@xxxxxxxx> wrote:
>
> The protocol filter isn't based on the value in the protocol column.
> Instead it's based on the value given to the protocol registration method 'proto_register_protocol'
> Look at the example here:
> https://www.wireshark.org/docs/wsdg_html_chunked/ChDissectAdd.html
> the filter will be 'foo' since the 3rd argument to this method is 'foo'.
> Did you use 'some_string' there as well?

Yeah, I just went back and made sure that the third argument was the
same, including case, as what I used in col_set_str.

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