xt_ACCOUNT: avoid implicit padding in struct ipt_acc_handle_ip

Make the structure size so that an ILP32 environment has no problem
taking the raw bytes from an LP64 one.
This commit is contained in:
Jan Engelhardt
2015-06-05 13:52:10 +02:00
parent 01f97bfdd1
commit 5e22c9c592

View File

@@ -59,7 +59,7 @@ struct ipt_acc_handle_sockopt {
Used for every IP when returning data
*/
struct ipt_acc_handle_ip {
__be32 ip;
__be32 ip, __dummy;
uint64_t src_packets;
uint64_t src_bytes;
uint64_t dst_packets;