aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-drsuapi.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2011-01-28 20:07:18 +0000
committerStephen Fisher <steve@stephen-fisher.com>2011-01-28 20:07:18 +0000
commit2040a3421d18df781a98614d34b6fd406d91bc38 (patch)
tree8d9ce9a0f0bc7667dbc3d9d47e0ed416587458c5 /epan/dissectors/packet-dcerpc-drsuapi.c
parentd37c33b7e7c9e8ac53a536b7d6c64f602d66bb94 (diff)
Change tvb_fake_unicode() to tvb_get_unicode_string() in the DCERPC
DRSUAPI dissector. Updated the packet-dcerpc-drsuapi.c file manually because it used to be auto-generated, but appears to have had changes since then. svn path=/trunk/; revision=35690
Diffstat (limited to 'epan/dissectors/packet-dcerpc-drsuapi.c')
-rw-r--r--epan/dissectors/packet-dcerpc-drsuapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dcerpc-drsuapi.c b/epan/dissectors/packet-dcerpc-drsuapi.c
index c92005393a..b7627592ff 100644
--- a/epan/dissectors/packet-dcerpc-drsuapi.c
+++ b/epan/dissectors/packet-dcerpc-drsuapi.c
@@ -574,7 +574,7 @@ ucarray_drsuapi_dissect_DsReplicaSyncRequest1Info_nc_dn(tvbuff_t *tvb, int offse
ALIGN_TO_2_BYTES;
- s = tvb_fake_unicode(tvb, offset, len, TRUE);
+ s = tvb_get_unicode_string(tvb, offset, len, ENC_LITTLE_ENDIAN);
if (tree && len) {
hfinfo = proto_registrar_get_nth(hf_drsuapi_DsReplicaSyncRequest1Info_nc_dn);
if (hfinfo->type == FT_STRING) {