aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-epm.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-12-06 23:30:36 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-12-06 23:30:36 +0000
commit33020303019c130db168e02ddcd424c7cd58a20e (patch)
tree30bc4e9802cc032eed98e48e35ab63cf77012664 /packet-dcerpc-epm.c
parent156931abb3dae13ef14d189111a16e4e7f428897 (diff)
From Todd Sabin:
add "dissect_ndr_ctx_hnd()" for dissecting context handles, and use it in various DCERPC dissectors; beef up the MS Security Account Manager dissector. Also, export "NT_errors[]" for use by that dissector. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4350 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-dcerpc-epm.c')
-rw-r--r--packet-dcerpc-epm.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/packet-dcerpc-epm.c b/packet-dcerpc-epm.c
index c16b05a14d..26af6a669d 100644
--- a/packet-dcerpc-epm.c
+++ b/packet-dcerpc-epm.c
@@ -2,7 +2,7 @@
* Routines for dcerpc endpoint mapper dissection
* Copyright 2001, Todd Sabin <tas@webspan.net>
*
- * $Id: packet-dcerpc-epm.c,v 1.2 2001/11/27 09:27:29 guy Exp $
+ * $Id: packet-dcerpc-epm.c,v 1.3 2001/12/06 23:30:35 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -105,12 +105,9 @@ epm_dissect_ept_lookup_resp (tvbuff_t *tvb, int offset,
{
guint32 dummy;
- /* need a dissect_ndr_ctx_handle */
- if (tree) {
- proto_tree_add_bytes (tree, hf_epm_lookup_hnd, tvb, offset, 20,
- tvb_get_ptr (tvb, offset, 20));
- }
- offset += 20;
+
+ offset = dissect_ndr_ctx_hnd (tvb, offset, pinfo, tree, drep,
+ hf_epm_lookup_hnd, NULL);
offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep,
hf_epm_num_ents, NULL);