Comment # 17
on bug 8573
from Evan Huus
(In reply to comment #16)
> (In reply to comment #13)
> >
> > - Rather than manually passing extra bytes off to the 'data' dissector,
> > please use a new-style dissector that returns the number of bytes dissected
> > and let Wireshark handle any extra as appropriate.
> >
>
>
>
> New-Style dissector? Is there a dissector or guide you can recommend I use
> for reference?
Check doc/packet-PROTOABBREV.c which is a sample dissector. In short, register
using new_create_dissector_handle instead of create_dissector_handle. The
dissection function should return an int, the number of bytes dissected as
belonging to the protocol.
You are receiving this mail because:
- You are watching all bug changes.