pild uses a magic alignment of 5 to mean align either to 4 or 8 bytes

depending on if ndr or ndr64 is used.


svn path=/trunk/; revision=30258
This commit is contained in:
Ronnie Sahlberg 2009-10-03 02:44:31 +00:00
parent 37aa66532a
commit e7c7ec44db
1 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,8 @@ extern const value_string platform_id_vals[];
} \
}
#define ALIGN_TO_5_BYTES ALIGN_TO_4_OR_8_BYTES
#define ALIGN_TO_4_OR_8_BYTES \
{ dcerpc_info *xzdi2; \
xzdi2=pinfo->private_data; \
@ -75,6 +77,8 @@ extern const value_string platform_id_vals[];
ALIGN_TO_4_BYTES; \
} \
}
int
dissect_ndr_counted_ascii_string_cb(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *tree,