aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-dcerpc-nt.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dcerpc-nt.h b/epan/dissectors/packet-dcerpc-nt.h
index a86e69e9e5..6b07283758 100644
--- a/epan/dissectors/packet-dcerpc-nt.h
+++ b/epan/dissectors/packet-dcerpc-nt.h
@@ -38,6 +38,15 @@ extern const value_string platform_id_vals[];
/* Routines for handling deferral of referants in NDR */
+#define ALIGN_TO_8_BYTES \
+ { dcerpc_info *xzdi; \
+ xzdi=pinfo->private_data; \
+ if(!xzdi->conformant_run) { \
+ if(offset&0x07) { \
+ offset=(offset&0xfffffff8)+8; \
+ } \
+ } \
+ }
#define ALIGN_TO_4_BYTES \
{ dcerpc_info *xzdi; \
xzdi=pinfo->private_data; \