[prev in list] [next in list] [prev in thread] [next in thread]
List: wireshark-dev
Subject: Re: [Wireshark-dev] switch statement in proto_register
From: Jaap Keuter <jaap.keuter () xs4all ! nl>
Date: 2009-09-29 5:18:56
Message-ID: 4AC198C0.2050006 () xs4all ! nl
[Download RAW message or body]
Hi,
See packet-m2pa.c for an example.
Thanx,
Jaap
Cole, Richard L. (MSFC-ES53)[MTSI] wrote:
> What is the preferred method for supporting multiple versions of a protocol within \
> a dissector? I have setup a protocol preference and was using that in a switch \
> statement structure but the proto_register function doesn't seem to like the switch \
> statement. Dissect_ doesn't might the switch statement and that part seems to be \
> working but the dissector complains with the switch statement in proto_register.
> Ideas? Thoughts?
>
> Thank you
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic