Wireshark mailing list archives

Re: Bug #15731 - Make header_field_info.abbrev different than protocol name


From: Jaap Keuter <jaap.keuter () xs4all nl>
Date: Tue, 30 Apr 2019 20:01:12 +0200

Hi,

Have a look at packet-tte.c which handles a similar problem.

Thanks,
Jaap

On 30 Apr 2019, at 16:54, Andrii Vladyka <a.vladyka () ukr net> wrote:

Is there a way to make "protocol" portion of header_field_info.abbrev structure member different than protocol name? 
E.g. protocol name is "docsis", however in some corner cases it makes sense to set PROTOABBREV for some fields as 
"eth.dst" or "eth.src" for backwards compatibility with older Wireshark versions and to simplify packet filtering. 
There is a pre-commit hook which fails with the following error, so I wonder whether there is a known workaround for 
such a situation:

eth.dst_mac doesn't match PROTOABBREV of docsis

The question raised in order to address https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15731 
<https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15731>
Regards,
Andrii Vladyka

___________________________________________________________________________
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: