diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-01-22 19:56:12 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-01-22 19:56:12 +0000 |
commit | 5b33d550a6744df66659f161893134dcea97e5e3 (patch) | |
tree | d3f8eebdbe6c3ecf84e78ad0862b6ec89d430c10 /epan/dissectors | |
parent | 4ca1660945c9ef895a390e86947807d60ddc702d (diff) |
needs an ALIGN_TO_2_BYTES to make the idl compiler happy
svn path=/trunk/; revision=13162
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-dcerpc-nt.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dcerpc-nt.h b/epan/dissectors/packet-dcerpc-nt.h index 59dc173469..a86e69e9e5 100644 --- a/epan/dissectors/packet-dcerpc-nt.h +++ b/epan/dissectors/packet-dcerpc-nt.h @@ -47,6 +47,15 @@ extern const value_string platform_id_vals[]; } \ } \ } +#define ALIGN_TO_2_BYTES \ + { dcerpc_info *xzdi; \ + xzdi=pinfo->private_data; \ + if(!xzdi->conformant_run) { \ + if(offset&0x01) { \ + offset=(offset&0xfffffffe)+2; \ + } \ + } \ + } int dissect_ndr_counted_string_cb(tvbuff_t *tvb, int offset, |