Ethereal-dev: RE: [Ethereal-dev] yhoo broke?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Tom Uijldert <Tom.Uijldert@xxxxxx>
Date: Fri, 2 Nov 2001 17:21:57 +0100
> Heuristic dissectors don't show up in the "Decode As" list; 
> protocols in
> that list have to have dissectors that return "void", not "gboolean".
> 
> If you want it to show up in the "Decode As" list, write a 
> non-heuristic
> dissector, have the heuristic dissector call it if the packet 
> passes the
> test, and register the non-heuristic dissector in the "tcp" or "udp"
> conversation-dissector list with "conv_dissector_add()".

'conv_dissector_add("udp",...)' works but 'conv_dissector_add("tcp",...)'
does not. I tried to implement this on the tarball-version of 26-10-2001.
I've been looking for differences in the way tcp/udp handle their respective
conversation-lists but couldn't find any.
So my guess is that there is a problem in the UI-code or in the traversing
code but haven't got a clue where to start looking. Anybody any brilliant
ideas?

Regards,
Tom Uijldert          Email: Tom.Uijldert@xxxxxx

PS.: The phenomena can be easily reproduced by modifying the call in
'packet-rtp.c' to "tcp" instead of "udp". Subsequently, "RTP" will disappear
from the "Decode As" list.