aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-reg.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-02-03 02:14:01 +0000
committerTim Potter <tpot@samba.org>2003-02-03 02:14:01 +0000
commit6b8a47a691746fb4d6c52122be40e840d05335ac (patch)
tree660160bc2b3b8747b35bbff282352792fec86c1a /packet-dcerpc-reg.c
parent91c6b0c70b698c3a41cf9d4f9e5e38064bb3d387 (diff)
Convert to new DCERPC string handling functions. There are still some
cosmetic bugs to work out though. svn path=/trunk/; revision=7069
Diffstat (limited to 'packet-dcerpc-reg.c')
-rw-r--r--packet-dcerpc-reg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-dcerpc-reg.c b/packet-dcerpc-reg.c
index 2a3af7dcfd..3e53573114 100644
--- a/packet-dcerpc-reg.c
+++ b/packet-dcerpc-reg.c
@@ -2,7 +2,7 @@
* Routines for SMB \PIPE\winreg packet disassembly
* Copyright 2001-2003 Tim Potter <tpot@samba.org>
*
- * $Id: packet-dcerpc-reg.c,v 1.14 2003/01/30 08:19:38 guy Exp $
+ * $Id: packet-dcerpc-reg.c,v 1.15 2003/02/03 02:14:00 tpot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -324,7 +324,7 @@ RegQueryKey_q(tvbuff_t *tvb, int offset, packet_info *pinfo,
tvb, offset, pinfo, tree, drep,
hf_hnd, NULL, FALSE, FALSE);
- offset = dissect_ndr_nt_UNICODE_STRING(
+ offset = dissect_ndr_counted_string(
tvb, offset, pinfo, tree, drep, hf_querykey_class, 0);
dcerpc_smb_check_long_frame(tvb, offset, pinfo, tree);
@@ -345,7 +345,7 @@ RegQueryKey_r(tvbuff_t *tvb, int offset, packet_info *pinfo,
/* Parse packet */
- offset = dissect_ndr_nt_UNICODE_STRING(
+ offset = dissect_ndr_counted_string(
tvb, offset, pinfo, tree, drep, hf_querykey_class, 0);
offset = dissect_ndr_uint32(
@@ -408,7 +408,7 @@ RegOpenEntry_q(tvbuff_t *tvb, int offset, packet_info *pinfo,
tvb, offset, pinfo, tree, drep,
hf_hnd, NULL, FALSE, FALSE);
- offset = dissect_ndr_nt_UNICODE_STRING(
+ offset = dissect_ndr_counted_string(
tvb, offset, pinfo, tree, drep, hf_querykey_class, 0);
offset = dissect_ndr_uint32(