On Jul 23, 2008, at 11:42 AM, Kumar, Hemant wrote:

>             register_dissector("myprotocol", dissect_myprotocol_tcp,  
> proto_myprotocol);
>             register_dissector("myprotocol", dissect_myprotocol_udp,  
> proto_myprotocol);

        ...

> Can you please suggest where I am going wrong? Is it to do with  
> multiple registrations with the same name?

Yes.

Heuristic dissectors are different from the dissectors you register  
with register_dissector(), so just get rid of those  
register_dissector() calls.
_______________________________________________
Wireshark-dev mailing list
[email protected]
https://wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to