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