Wireshark-bugs: [Wireshark-bugs] [Bug 7493] Dissector for the Parrot AR Drone
Date: Sat, 4 Aug 2012 00:09:35 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7493

--- Comment #13 from Martin Kaiser <wireshark@xxxxxxxxx> 2012-08-04 00:09:33 PDT ---
Hi,

> I changed the function to return the number of bytes it dissected.

only if tree!=NULL
for tree==NULL, you always return 0

My understanding is that new-style dissectors should always return the number
of bytes in their packet, see e.g. dissect_xyplex() for an example how to do
this.

Regards,

   Martin

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.