aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gssapi.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2005-12-25 12:03:18 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2005-12-25 12:03:18 +0000
commitf9fa74937dad7cd1f5d60f464ab0d08fd030c20c (patch)
tree806572378a0c009e3fded3cf34f8cebace438238 /epan/dissectors/packet-gssapi.c
parent34230c4c8542b2447083ed14927a0e41093c520d (diff)
remove some proto_tree_add_text and replace with proto_tree_add_item() for the TSIG dissection in dns.
create a new dissector table where MAC algorithms for dns/tsig can be registered. register gssapi for the algorithm "gss.microsoft.com" since this is what w2k uses when performing dns updates. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16895 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gssapi.c')
-rw-r--r--epan/dissectors/packet-gssapi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dissectors/packet-gssapi.c b/epan/dissectors/packet-gssapi.c
index ff44d3d286..3e20204f61 100644
--- a/epan/dissectors/packet-gssapi.c
+++ b/epan/dissectors/packet-gssapi.c
@@ -433,6 +433,8 @@ static dcerpc_auth_subdissector_fns gssapi_auth_fns = {
void
proto_reg_handoff_gssapi(void)
{
+ dissector_handle_t gssapi_handle;
+
ntlmssp_handle = find_dissector("ntlmssp");
register_dcerpc_auth_subdissector(DCE_C_AUTHN_LEVEL_CONNECT,
@@ -444,4 +446,7 @@ proto_reg_handoff_gssapi(void)
register_dcerpc_auth_subdissector(DCE_C_AUTHN_LEVEL_PKT_PRIVACY,
DCE_C_RPC_AUTHN_PROTOCOL_SPNEGO,
&gssapi_auth_fns);
+
+ gssapi_handle = create_dissector_handle(dissect_gssapi, proto_gssapi);
+ dissector_add_string("dns.tsig.mac", "gss.microsoft.com", gssapi_handle);
}