diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2003-03-17 09:42:12 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2003-03-17 09:42:12 +0000 |
commit | b8e3c33edb353cd91cc47fb558725a16b07dfe55 (patch) | |
tree | 80ec721f178154daca27c2283e56caa2bf871f71 /packet-dcerpc.c | |
parent | 3cde372091164532513c36f4d2f81ab69ffa36fd (diff) | |
download | wireshark-b8e3c33edb353cd91cc47fb558725a16b07dfe55.tar.gz wireshark-b8e3c33edb353cd91cc47fb558725a16b07dfe55.tar.bz2 wireshark-b8e3c33edb353cd91cc47fb558725a16b07dfe55.zip |
change dissect_ndr_wchar_cvstring so that it uses the hf_index the dissector has passed to it and not the generic dcerpc_character_buffer.
we need this to be able to filter for various dcerpc related strings such as lsa.domain
svn path=/trunk/; revision=7356
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 3be460b1ba..d27c491e46 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.112 2003/03/10 02:06:31 jmayer Exp $ + * $Id: packet-dcerpc.c,v 1.113 2003/03/17 09:42:12 sahlberg Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1083,8 +1083,11 @@ int dissect_ndr_wchar_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(guint16), hf_dcerpc_array_buffer, + sizeof(guint16), di->hf_index, FALSE, NULL); } |