Wireshark mailing list archives

Custom wireshark dissector plugin: unable to overwrite col_protocol and info


From: rashmi s <rashmi.s13 () gmail com>
Date: Wed, 1 Feb 2017 14:11:11 -0800

Hello,

I have written a custom dissector plugin for internal use and am using
"WTAP_ENCAP_USER0" as port. In my dissector, I am setting protocol name and
info field using col_set_str function.

But it still shows the entry set in packet-frame.c. The protocol field is
displayed as UNKNOWN and info field as WTAP_ENCAP = 45. If I comment out
this line in packet-frame.c, then I can see the information and protocol
that I set.

How can make my col_set_str to take effect and display my protocol and info
instead.

Thanks,

Rashmi.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: