diff options
author | Tim Potter <tpot@samba.org> | 2003-08-04 02:49:04 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-08-04 02:49:04 +0000 |
commit | 4ccbfa3edca9d6b6abc2ad46f7734be82f5e994e (patch) | |
tree | 63a279850eb8eef07cd8b9f98496347eac14907f /packet-dcerpc-update.c | |
parent | 77f0aa01033ca862f0ba14692859051eb5b6430f (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-update.c')
-rw-r--r-- | packet-dcerpc-update.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/packet-dcerpc-update.c b/packet-dcerpc-update.c index fd9010b474..fe734b8de7 100644 --- a/packet-dcerpc-update.c +++ b/packet-dcerpc-update.c @@ -5,7 +5,7 @@ * This information is based off the released idl files from opengroup. * ftp://ftp.opengroup.org/pub/dce122/dce/src/file.tar.gz file/update/update.idl * - * $Id: packet-dcerpc-update.c,v 1.3 2003/06/26 04:30:30 tpot Exp $ + * $Id: packet-dcerpc-update.c,v 1.4 2003/08/04 02:48:59 tpot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -84,16 +84,8 @@ proto_register_dce_update (void) void proto_reg_handoff_dce_update (void) { - header_field_info *hf_info; - /* Register the protocol as dcerpc */ dcerpc_init_uuid (proto_dce_update, ett_dce_update, &uuid_dce_update, ver_dce_update, dce_update_dissectors, hf_dce_update_opnum); - - /* Set opnum strings from subdissector list */ - - hf_info = proto_registrar_get_nth(hf_dce_update_opnum); - hf_info->strings = value_string_from_subdissectors( - dce_update_dissectors, array_length(dce_update_dissectors)); } |