forked from osmocom/wireshark
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:
parent
37aa66532a
commit
e7c7ec44db
|
@ -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 \
|
#define ALIGN_TO_4_OR_8_BYTES \
|
||||||
{ dcerpc_info *xzdi2; \
|
{ dcerpc_info *xzdi2; \
|
||||||
xzdi2=pinfo->private_data; \
|
xzdi2=pinfo->private_data; \
|
||||||
|
@ -75,6 +77,8 @@ extern const value_string platform_id_vals[];
|
||||||
ALIGN_TO_4_BYTES; \
|
ALIGN_TO_4_BYTES; \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
dissect_ndr_counted_ascii_string_cb(tvbuff_t *tvb, int offset,
|
dissect_ndr_counted_ascii_string_cb(tvbuff_t *tvb, int offset,
|
||||||
packet_info *pinfo, proto_tree *tree,
|
packet_info *pinfo, proto_tree *tree,
|
||||||
|
|
Loading…
Reference in New Issue