MSRP has a registered port now, register the dissector for it.

Presumably it got the port when it became an RFC.

Change-Id: I0afb815bcfe4b36b896fa6f7e62f93047a36b05b
Reviewed-on: https://code.wireshark.org/review/8576
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
Jeff Morriss 2015-05-21 14:14:28 -04:00 committed by Alexis La Goutte
parent 8f462b0737
commit 4dfc5a7204
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,7 @@
void proto_register_msrp(void);
void proto_reg_handoff_msrp(void);
#define TCP_PORT_MSRP 0
#define TCP_PORT_MSRP 2855
#define MSRP_HDR "MSRP"
#define MSRP_HDR_LEN (strlen (MSRP_HDR))
@ -919,6 +919,7 @@ proto_reg_handoff_msrp(void)
msrp_handle = find_dissector("msrp");
dissector_add_for_decode_as("tcp.port", msrp_handle); /* for "decode-as" */
heur_dissector_add("tcp", dissect_msrp_heur, proto_msrp);
dissector_add_uint("tcp.port", TCP_PORT_MSRP, msrp_handle);
media_type_dissector_table = find_dissector_table("media_type");
}