diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-03-31 07:26:18 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-03-31 07:26:18 +0000 |
commit | 60b0e6177243548a7cd860652c599e745a61325b (patch) | |
tree | 9650a6ea44a65cd05d50ac4892d1cd190611e9a6 /packet-dcerpc.c | |
parent | 60e5f1b6456126db12eb4fa26441d7391c5f916d (diff) |
Do the same for dissect_ndr_char_cvstring.
svn path=/trunk/; revision=7383
Diffstat (limited to 'packet-dcerpc.c')
-rw-r--r-- | packet-dcerpc.c | 7 |
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); } |