aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-netlogon.c
diff options
context:
space:
mode:
authortpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7>2003-08-04 02:49:04 +0000
committertpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7>2003-08-04 02:49:04 +0000
commit62dbd85694eed3be92ff7a0f6cb425d5f304c33d (patch)
tree63a279850eb8eef07cd8b9f98496347eac14907f /packet-dcerpc-netlogon.c
parentee0976b59989e53406150f1d0a91c6b691713878 (diff)
Guy suggested that the dcerpc opnum value_string code could be simplified
somewhat. Now the dynamic initialisation of the value_string is contained in the value_string_from_subdissectors() function instead of being distributed amongst the dcerpc dissectors. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8123 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-dcerpc-netlogon.c')
-rw-r--r--packet-dcerpc-netlogon.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/packet-dcerpc-netlogon.c b/packet-dcerpc-netlogon.c
index 984a596ef4..25ba82f9eb 100644
--- a/packet-dcerpc-netlogon.c
+++ b/packet-dcerpc-netlogon.c
@@ -3,7 +3,7 @@
* Copyright 2001,2003 Tim Potter <tpot@samba.org>
* 2002 structure and command dissectors by Ronnie Sahlberg
*
- * $Id: packet-dcerpc-netlogon.c,v 1.86 2003/07/18 05:48:39 guy Exp $
+ * $Id: packet-dcerpc-netlogon.c,v 1.87 2003/08/04 02:49:02 tpot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -7080,20 +7080,12 @@ static dcerpc_auth_subdissector_fns secchan_auth_fns = {
void
proto_reg_handoff_dcerpc_netlogon(void)
{
- header_field_info *hf_info;
-
/* Register protocol as dcerpc */
dcerpc_init_uuid(proto_dcerpc_netlogon, ett_dcerpc_netlogon,
&uuid_dcerpc_netlogon, ver_dcerpc_netlogon,
dcerpc_netlogon_dissectors, hf_netlogon_opnum);
- /* Set opnum strings from subdissector list */
-
- hf_info = proto_registrar_get_nth(hf_netlogon_opnum);
- hf_info->strings = value_string_from_subdissectors(
- dcerpc_netlogon_dissectors, array_length(dcerpc_netlogon_dissectors));
-
register_dcerpc_auth_subdissector(DCE_C_AUTHN_LEVEL_PKT_INTEGRITY,
DCE_C_RPC_AUTHN_PROTOCOL_SEC_CHAN,
&secchan_auth_fns);