diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-01-28 09:29:49 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-01-28 09:29:49 +0000 |
commit | 610da77693fcb3d857253e953cb687224249fd74 (patch) | |
tree | 219599a66d3ca408ff49b235bb556e1602596f37 /epan/dissectors/packet-dcerpc-lsa.c | |
parent | 289fd317a0461cb3ad54b5c680719b62d47a60a0 (diff) |
older MS DCE/RPC interfaces often use a construct that is to be treated as a 64 bit integer but in reality is a struct containing 2 32bit integers.
this construct is aligned on 4 byte boundaries in ndr and NOT
8 bytes as a real uint64 (== hyper) would be.
rename the existing dissect_ndr_uint64 ro dissect_ndr_duint32 (double uint32) to make it reflect better the alignment of the type.
svn path=/trunk/; revision=13184
Diffstat (limited to 'epan/dissectors/packet-dcerpc-lsa.c')
-rw-r--r-- | epan/dissectors/packet-dcerpc-lsa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-dcerpc-lsa.c b/epan/dissectors/packet-dcerpc-lsa.c index ad99814799..de9852e05d 100644 --- a/epan/dissectors/packet-dcerpc-lsa.c +++ b/epan/dissectors/packet-dcerpc-lsa.c @@ -925,7 +925,7 @@ lsa_dissect_POLICY_DEFAULT_QUOTA_INFO(tvbuff_t *tvb, int offset, hf_lsa_quota_pagefile, NULL); /* */ - offset = dissect_ndr_uint64 (tvb, offset, pinfo, tree, drep, + offset = dissect_ndr_duint32 (tvb, offset, pinfo, tree, drep, hf_lsa_unknown_hyper, NULL); proto_item_set_len(item, offset-old_offset); @@ -948,7 +948,7 @@ lsa_dissect_POLICY_MODIFICATION_INFO(tvbuff_t *tvb, int offset, } /* seq no */ - offset = dissect_ndr_uint64 (tvb, offset, pinfo, tree, drep, + offset = dissect_ndr_duint32 (tvb, offset, pinfo, tree, drep, hf_lsa_mod_seq_no, NULL); /* mtime */ @@ -1519,7 +1519,7 @@ lsa_dissect_auth_info(tvbuff_t *tvb, int offset, } /* update */ - offset = dissect_ndr_uint64 (tvb, offset, pinfo, tree, drep, + offset = dissect_ndr_duint32 (tvb, offset, pinfo, tree, drep, hf_lsa_auth_update, NULL); /* type */ @@ -2066,7 +2066,7 @@ lsa_dissect_LUID_AND_ATTRIBUTES(tvbuff_t *tvb, int offset, offset = dissect_nt_LUID(tvb, offset, pinfo, tree, drep); /* attr */ - offset = dissect_ndr_uint64 (tvb, offset, pinfo, tree, drep, + offset = dissect_ndr_duint32 (tvb, offset, pinfo, tree, drep, hf_lsa_attr, NULL); proto_item_set_len(item, offset-old_offset); |