Wireshark mailing list archives

New Dissector only applied to first packet


From: Jan Willamowius <jan () willamowius de>
Date: Fri, 2 Nov 2012 15:00:32 +0100

Hi,

I'm writing my first dissector based on the example in the Developers
Guide and README.developer.

I register my dissector for a certain port using

dissector_add_uint("udp.port", FOO_PORT, handle);

I notice that it only gets applied to the first packet that matches the
port and I can't apply it to other packets, not even using "Decode As".

How can I figure out what the problem might be ?

Thanks,
Jan

-- 
Jan Willamowius, Founder of the GNU Gatekeeper Project
EMail  : jan () willamowius de
Website: http://www.gnugk.org
___________________________________________________________________________
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


Current thread: