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-remact.c | |
parent | 77f0aa01033ca862f0ba14692859051eb5b6430f (diff) | |
download | wireshark-4ccbfa3edca9d6b6abc2ad46f7734be82f5e994e.tar.gz wireshark-4ccbfa3edca9d6b6abc2ad46f7734be82f5e994e.tar.bz2 wireshark-4ccbfa3edca9d6b6abc2ad46f7734be82f5e994e.zip |
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-remact.c')
-rw-r--r-- | packet-dcerpc-remact.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/packet-dcerpc-remact.c b/packet-dcerpc-remact.c index 14b39030a3..2967c65c92 100644 --- a/packet-dcerpc-remact.c +++ b/packet-dcerpc-remact.c @@ -2,7 +2,7 @@ * Routines for DCOM Remote Activation * Copyright 2001, Todd Sabin <tas@webspan.net> * - * $Id: packet-dcerpc-remact.c,v 1.7 2003/06/26 04:30:28 tpot Exp $ + * $Id: packet-dcerpc-remact.c,v 1.8 2003/08/04 02:49:02 tpot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -72,14 +72,6 @@ proto_register_remact (void) void proto_reg_handoff_remact (void) { - header_field_info *hf_info; - /* Register the protocol as dcerpc */ dcerpc_init_uuid (proto_remact, ett_remact, &uuid_remact, ver_remact, remact_dissectors, hf_opnum); - - /* Set opnum strings from subdissector list */ - - hf_info = proto_registrar_get_nth(hf_opnum); - hf_info->strings = value_string_from_subdissectors( - remact_dissectors, array_length(remact_dissectors)); } |