aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-cprpc_server.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-cprpc_server.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-cprpc_server.c')
-rw-r--r--packet-dcerpc-cprpc_server.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/packet-dcerpc-cprpc_server.c b/packet-dcerpc-cprpc_server.c
index d7e9b00df5..c3d3c831e1 100644
--- a/packet-dcerpc-cprpc_server.c
+++ b/packet-dcerpc-cprpc_server.c
@@ -4,7 +4,7 @@
* This information is based off the released idl files from opengroup.
* ftp://ftp.opengroup.org/pub/dce122/dce/src/directory.tar.gz directory/cds/stubs/cprpc_server.idl
*
- * $Id: packet-dcerpc-cprpc_server.c,v 1.3 2003/06/26 04:30:26 tpot Exp $
+ * $Id: packet-dcerpc-cprpc_server.c,v 1.4 2003/08/04 02:49:03 tpot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -77,14 +77,6 @@ proto_register_cprpc_server (void)
void
proto_reg_handoff_cprpc_server (void)
{
- header_field_info *hf_info;
-
/* Register the protocol as dcerpc */
dcerpc_init_uuid (proto_cprpc_server, ett_cprpc_server, &uuid_cprpc_server, ver_cprpc_server, cprpc_server_dissectors, hf_cprpc_server_opnum);
-
- /* Set opnum strings from subdissector list */
-
- hf_info = proto_registrar_get_nth(hf_cprpc_server_opnum);
- hf_info->strings = value_string_from_subdissectors(
- cprpc_server_dissectors, array_length(cprpc_server_dissectors));
}