diff options
-rw-r--r-- | packet-sdp.c | 11 |
1 files changed, 8 insertions, 3 deletions
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 <jal@netapp.com> * Liberally copied from packet-http.c, by Guy Harris <guy@alum.mit.edu> * - * $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 <gerald@ethereal.com> @@ -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); } |