From 6de9f11aef9e2a7255cb77bad0bae637f791a730 Mon Sep 17 00:00:00 2001 From: guy Date: Sun, 7 Dec 2003 03:46:04 +0000 Subject: Register the SDP dissector with the media_type dissector table with its media type. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9192 f5534014-38df-0310-8fa8-9805f1628bb7 --- packet-sdp.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'packet-sdp.c') diff --git a/packet-sdp.c b/packet-sdp.c index 95d3bb9468..67e0d25e39 100644 --- a/packet-sdp.c +++ b/packet-sdp.c @@ -4,7 +4,7 @@ * Jason Lango * Liberally copied from packet-http.c, by Guy Harris * - * $Id: packet-sdp.c,v 1.38 2003/12/05 09:34:16 guy Exp $ + * $Id: packet-sdp.c,v 1.39 2003/12/07 03:46:04 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -1105,6 +1105,11 @@ proto_register_sdp(void) void proto_reg_handoff_sdp(void) { - rtp_handle = find_dissector("rtp"); - rtcp_handle = find_dissector("rtcp"); + dissector_handle_t sdp_handle; + + rtp_handle = find_dissector("rtp"); + rtcp_handle = find_dissector("rtcp"); + + sdp_handle = find_dissector("sdp"); + dissector_add_string("media_type", "application/sdp", sdp_handle); } -- cgit v1.2.3