diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-12-07 03:46:04 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-12-07 03:46:04 +0000 |
commit | 6de9f11aef9e2a7255cb77bad0bae637f791a730 (patch) | |
tree | 0b2d631d7206064b34a31913bdb66b39b605e750 /packet-sdp.c | |
parent | 6a273a64f61668d476b3912258a46f3739b684b9 (diff) |
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
Diffstat (limited to 'packet-sdp.c')
-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); } |