From be7d295fbf06788c7fec948cf8755c218ad7c32d Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Sat, 11 Jul 2015 17:33:26 -0400 Subject: 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 Reviewed-by: Michael Mann --- epan/dissectors/packet-smb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'epan/dissectors/packet-smb.c') diff --git a/epan/dissectors/packet-smb.c b/epan/dissectors/packet-smb.c index 13a0eac90f..69d9e71180 100644 --- a/epan/dissectors/packet-smb.c +++ b/epan/dissectors/packet-smb.c @@ -20530,10 +20530,10 @@ proto_reg_handoff_smb(void) gssapi_handle = find_dissector("gssapi"); ntlmssp_handle = find_dissector("ntlmssp"); - heur_dissector_add("netbios", dissect_smb_heur, proto_smb); - heur_dissector_add("smb_direct", dissect_smb_heur, proto_smb); - heur_dissector_add("cotp", dissect_smb_heur, proto_smb); - heur_dissector_add("vines_spp", dissect_smb_heur, proto_smb); + heur_dissector_add("netbios", dissect_smb_heur, "SMB over Netbios", "smb_netbios", proto_smb); + heur_dissector_add("smb_direct", dissect_smb_heur, "SMB over SMB Direct", "smb_smb_direct", proto_smb); + heur_dissector_add("cotp", dissect_smb_heur, "SMB over COTP", "smb_cotp", proto_smb); + heur_dissector_add("vines_spp", dissect_smb_heur, "SMB over Vines", "smb_vines", proto_smb); smb_handle = find_dissector("smb"); dissector_add_uint("ipx.socket", IPX_SOCKET_NWLINK_SMB_SERVER, smb_handle); -- cgit v1.2.3