forked from osmocom/wireshark
Register the SDP dissector with the media_type dissector table with its
media type. svn path=/trunk/; revision=9192
This commit is contained in:
parent
eb519c3e05
commit
0c23e1b4f8
11
packet-sdp.c
11
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue