diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2009-06-21 12:23:36 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2009-06-21 12:23:36 +0000 |
commit | 872a674d8b1f65cbea54ee5a876cafde0170e34d (patch) | |
tree | fb70e59ff460d9b7c75dd17217006f4d69352930 | |
parent | 3ba0f0a76167c24a62793e7230bcefc65e16b3ea (diff) | |
download | ebtables-872a674d8b1f65cbea54ee5a876cafde0170e34d.tar.gz |
fix alignment on userspace32-kernel64 systems (Sachin Sanap)
-rw-r--r-- | include/ebtables_u.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ebtables_u.h b/include/ebtables_u.h index 3ba8c05..910c213 100644 --- a/include/ebtables_u.h +++ b/include/ebtables_u.h @@ -25,6 +25,7 @@ #define EBTABLES_U_H #include <netinet/in.h> #include <linux/netfilter_bridge/ebtables.h> +#include <linux/netfilter/x_tables.h> #ifndef IPPROTO_SCTP #define IPPROTO_SCTP 132 @@ -37,7 +38,7 @@ #define EXEC_STYLE_DAEMON 1 #ifndef EBT_MIN_ALIGN -#define EBT_MIN_ALIGN (__alignof__(struct ebt_entry_target)) +#define EBT_MIN_ALIGN (__alignof__(struct _xt_align)) #endif #define EBT_ALIGN(s) (((s) + (EBT_MIN_ALIGN-1)) & ~(EBT_MIN_ALIGN-1)) #define ERRORMSG_MAXLEN 128 |