aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packet-dcerpc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/packet-dcerpc.c b/packet-dcerpc.c
index d27c491e46..de2b81ff81 100644
--- a/packet-dcerpc.c
+++ b/packet-dcerpc.c
@@ -2,7 +2,7 @@
* Routines for DCERPC packet disassembly
* Copyright 2001, Todd Sabin <tas@webspan.net>
*
- * $Id: packet-dcerpc.c,v 1.113 2003/03/17 09:42:12 sahlberg Exp $
+ * $Id: packet-dcerpc.c,v 1.114 2003/03/31 07:26:18 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1065,8 +1065,11 @@ int
dissect_ndr_char_cvstring(tvbuff_t *tvb, int offset, packet_info *pinfo,
proto_tree *tree, char *drep)
{
+ dcerpc_info *di;
+ di=pinfo->private_data;
+
return dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep,
- sizeof(guint8), hf_dcerpc_array_buffer,
+ sizeof(guint8), di->hf_index,
FALSE, NULL);
}