forked from osmocom/wireshark
Skinny: fix dissector registration for SSL
Change-Id: Ia3f29b703b8271f52dfed9d8b46e18f405785d3a Reviewed-on: https://code.wireshark.org/review/11559 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
02dcf3cc72
commit
df487145ee
|
@ -9721,6 +9721,8 @@ proto_register_skinny(void)
|
|||
" \"Allow subdissectors to reassemble TCP streams\" in the TCP protocol settings.",
|
||||
&skinny_desegment);
|
||||
|
||||
skinny_handle = new_register_dissector("skinny", dissect_skinny, proto_skinny);
|
||||
|
||||
skinny_tap = register_tap("skinny");
|
||||
}
|
||||
|
||||
|
@ -9729,7 +9731,6 @@ proto_reg_handoff_skinny(void)
|
|||
{
|
||||
/* Skinny content type and internet media type used by other dissectors are the same */
|
||||
media_type_dissector_table = find_dissector_table("media_type");
|
||||
skinny_handle = new_create_dissector_handle(dissect_skinny, proto_skinny);
|
||||
dissector_add_uint("tcp.port", TCP_PORT_SKINNY, skinny_handle);
|
||||
ssl_dissector_add(SSL_PORT_SKINNY, "skinny", TRUE);
|
||||
}
|
||||
|
|
|
@ -532,6 +532,8 @@ proto_register_skinny(void)
|
|||
" \"Allow subdissectors to reassemble TCP streams\" in the TCP protocol settings.",
|
||||
&skinny_desegment);
|
||||
|
||||
skinny_handle = new_register_dissector("skinny", dissect_skinny, proto_skinny);
|
||||
|
||||
skinny_tap = register_tap("skinny");
|
||||
}
|
||||
|
||||
|
@ -540,7 +542,6 @@ proto_reg_handoff_skinny(void)
|
|||
{
|
||||
/* Skinny content type and internet media type used by other dissectors are the same */
|
||||
media_type_dissector_table = find_dissector_table("media_type");
|
||||
skinny_handle = new_create_dissector_handle(dissect_skinny, proto_skinny);
|
||||
dissector_add_uint("tcp.port", TCP_PORT_SKINNY, skinny_handle);
|
||||
ssl_dissector_add(SSL_PORT_SKINNY, "skinny", TRUE);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue