aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-krb5rpc.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-08-04 02:49:04 +0000
committerTim Potter <tpot@samba.org>2003-08-04 02:49:04 +0000
commit4ccbfa3edca9d6b6abc2ad46f7734be82f5e994e (patch)
tree63a279850eb8eef07cd8b9f98496347eac14907f /packet-dcerpc-krb5rpc.c
parent77f0aa01033ca862f0ba14692859051eb5b6430f (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. svn path=/trunk/; revision=8123
Diffstat (limited to 'packet-dcerpc-krb5rpc.c')
-rw-r--r--packet-dcerpc-krb5rpc.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/packet-dcerpc-krb5rpc.c b/packet-dcerpc-krb5rpc.c
index c658787c17..41b8475992 100644
--- a/packet-dcerpc-krb5rpc.c
+++ b/packet-dcerpc-krb5rpc.c
@@ -5,7 +5,7 @@
* This information is based off the released idl files from opengroup.
* ftp://ftp.opengroup.org/pub/dce122/dce/src/security.tar.gz security/idl/krb5rpc.idl
*
- * $Id: packet-dcerpc-krb5rpc.c,v 1.5 2003/06/26 04:30:27 tpot Exp $
+ * $Id: packet-dcerpc-krb5rpc.c,v 1.6 2003/08/04 02:49:02 tpot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -205,16 +205,7 @@ proto_register_krb5rpc (void)
void
proto_reg_handoff_krb5rpc (void)
{
- header_field_info *hf_info;
-
/* Register the protocol as dcerpc */
dcerpc_init_uuid (proto_krb5rpc, ett_krb5rpc, &uuid_krb5rpc, ver_krb5rpc,
krb5rpc_dissectors, hf_krb5rpc_opnum);
-
- /* Set opnum strings from subdissector list */
-
- hf_info = proto_registrar_get_nth(hf_krb5rpc_opnum);
- hf_info->strings = value_string_from_subdissectors(
- krb5rpc_dissectors, array_length(krb5rpc_dissectors));
-
}