diff options
author | Michael Mann <mmann78@netscape.net> | 2015-07-11 17:33:26 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-07-12 03:14:38 +0000 |
commit | be7d295fbf06788c7fec948cf8755c218ad7c32d (patch) | |
tree | 6ae35deb03e777b000683b94b928b774a4cd27b4 /epan/dissectors/packet-jxta.c | |
parent | 0caf0616ba53282cf4ef5587e13989a7aacc9588 (diff) |
Add "user presentable" and "unique string ids" to heuristic table entries.
This allows better presentation of heuristic dissectors to the end user.
Change-Id: I2ff3985ab914e83c2989880cc0c7b9904045b3f6
Reviewed-on: https://code.wireshark.org/review/9602
Petri-Dish: Michael Mann <mmann78@netscape.net>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-jxta.c')
-rw-r--r-- | epan/dissectors/packet-jxta.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-jxta.c b/epan/dissectors/packet-jxta.c index 4ee41b9336..e4b29b9a12 100644 --- a/epan/dissectors/packet-jxta.c +++ b/epan/dissectors/packet-jxta.c @@ -2439,7 +2439,7 @@ void proto_reg_handoff_jxta(void) if( gUDP_HEUR ) { if( !udp_register_done ) { /* g_message( "Registering UDP Heuristic dissector" ); */ - heur_dissector_add("udp", dissect_jxta_UDP_heur, proto_jxta); + heur_dissector_add("udp", dissect_jxta_UDP_heur, "JXTA over UDP", "jxta_udp", proto_jxta); udp_register_done = TRUE; } } else { @@ -2453,7 +2453,7 @@ void proto_reg_handoff_jxta(void) if( gTCP_HEUR ) { if( !tcp_register_done ) { /* g_message( "Registering TCP Heuristic dissector" ); */ - heur_dissector_add("tcp", dissect_jxta_TCP_heur, proto_jxta); + heur_dissector_add("tcp", dissect_jxta_TCP_heur, "JXTA over TCP", "jxta_tcp", proto_jxta); tcp_register_done = TRUE; } } else { @@ -2467,7 +2467,7 @@ void proto_reg_handoff_jxta(void) if( gSCTP_HEUR ) { if( !sctp_register_done ) { /* g_message( "Registering SCTP Heuristic dissector" ); */ - heur_dissector_add("sctp", dissect_jxta_SCTP_heur, proto_jxta); + heur_dissector_add("sctp", dissect_jxta_SCTP_heur, "JXTA over SCTP", "jxta_sctp", proto_jxta); sctp_register_done = TRUE; } } else { |