diff options
author | tpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-08-04 02:49:04 +0000 |
---|---|---|
committer | tpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-08-04 02:49:04 +0000 |
commit | 62dbd85694eed3be92ff7a0f6cb425d5f304c33d (patch) | |
tree | 63a279850eb8eef07cd8b9f98496347eac14907f /packet-dcerpc-rs_misc.c | |
parent | ee0976b59989e53406150f1d0a91c6b691713878 (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-rs_misc.c')
-rw-r--r-- | packet-dcerpc-rs_misc.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/packet-dcerpc-rs_misc.c b/packet-dcerpc-rs_misc.c index e7858ea962..d2cc2947b6 100644 --- a/packet-dcerpc-rs_misc.c +++ b/packet-dcerpc-rs_misc.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_misc.idl * - * $Id: packet-dcerpc-rs_misc.c,v 1.4 2003/06/26 04:30:29 tpot Exp $ + * $Id: packet-dcerpc-rs_misc.c,v 1.5 2003/08/04 02:49:01 tpot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -126,15 +126,6 @@ proto_register_rs_misc (void) void proto_reg_handoff_rs_misc (void) { - header_field_info *hf_info; - /* Register the protocol as dcerpc */ dcerpc_init_uuid (proto_rs_misc, ett_rs_misc, &uuid_rs_misc, ver_rs_misc, rs_misc_dissectors, hf_rs_misc_opnum); - - /* Set opnum strings from subdissector list */ - - hf_info = proto_registrar_get_nth(hf_rs_misc_opnum); - hf_info->strings = value_string_from_subdissectors( - rs_misc_dissectors, array_length(rs_misc_dissectors)); - } |