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-smb2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-smb2.c') diff --git a/epan/dissectors/packet-smb2.c b/epan/dissectors/packet-smb2.c index 44ef1e9c26..94dc284592 100644 --- a/epan/dissectors/packet-smb2.c +++ b/epan/dissectors/packet-smb2.c @@ -8900,8 +8900,8 @@ proto_reg_handoff_smb2(void) gssapi_handle = find_dissector("gssapi"); ntlmssp_handle = find_dissector("ntlmssp"); rsvd_handle = find_dissector("rsvd"); - heur_dissector_add("netbios", dissect_smb2_heur, proto_smb2); - heur_dissector_add("smb_direct", dissect_smb2_heur, proto_smb2); + heur_dissector_add("netbios", dissect_smb2_heur, "SMB2 over Netbios", "smb2_netbios", proto_smb2); + heur_dissector_add("smb_direct", dissect_smb2_heur, "SMB2 over SMB Direct", "smb2_smb_direct", proto_smb2); } /* -- cgit v1.2.3