On Fri, Dec 05, 2003 at 03:21:10PM +0100, Anders Broman wrote:
> Included a patch to check content type before calling the SDP dissector, if
> not SDP print as text.

If you're using the current CVS version of Ethereal, you might want to
look at copying the code from the HTTP dissector to hand off to
subdissectors based on the content type - you can get the "media_type"
dissector table in dissectors other than the HTTP dissector by calling

        find_dissector_table("media_type")

in the other dissector's reg_handoff routine.

The SDP dissector now registers itself in that table.

_______________________________________________
Ethereal-dev mailing list
[EMAIL PROTECTED]
http://www.ethereal.com/mailman/listinfo/ethereal-dev

Reply via email to