From 4ccbfa3edca9d6b6abc2ad46f7734be82f5e994e Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 4 Aug 2003 02:49:04 +0000 Subject: 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 --- packet-dcerpc-rs_replist.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'packet-dcerpc-rs_replist.c') diff --git a/packet-dcerpc-rs_replist.c b/packet-dcerpc-rs_replist.c index 1970e5e1e4..9c1f088e0e 100644 --- a/packet-dcerpc-rs_replist.c +++ b/packet-dcerpc-rs_replist.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/rs_repadm.idl * - * $Id: packet-dcerpc-rs_replist.c,v 1.3 2003/06/26 04:30:29 tpot Exp $ + * $Id: packet-dcerpc-rs_replist.c,v 1.4 2003/08/04 02:49:01 tpot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -87,14 +87,6 @@ proto_register_rs_replist (void) void proto_reg_handoff_rs_replist (void) { - header_field_info *hf_info; - /* Register the protocol as dcerpc */ dcerpc_init_uuid (proto_rs_replist, ett_rs_replist, &uuid_rs_replist, ver_rs_replist, rs_replist_dissectors, hf_rs_replist_opnum); - - /* Set opnum strings from subdissector list */ - - hf_info = proto_registrar_get_nth(hf_rs_replist_opnum); - hf_info->strings = value_string_from_subdissectors( - rs_replist_dissectors, array_length(rs_replist_dissectors)); } -- cgit v1.2.3