summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_limit.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@linuxcare.com.au>2000-07-03 10:17:57 +0000
committerRusty Russell <rusty@rustcorp.com.au>2000-07-03 10:17:57 +0000
commit73f72f541ac4dab538d4d418b9bbf1707b31342b (patch)
tree4709c168a349e6bd1a4f01e522dba0d342618b0b /extensions/libipt_limit.c
parent4b3c03de8ea5419e5d92b1af8363da9a8201d68f (diff)
Aligning matchsize and targetsize now responsibility of extension writers
(PPC fix).
Diffstat (limited to 'extensions/libipt_limit.c')
-rw-r--r--extensions/libipt_limit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libipt_limit.c b/extensions/libipt_limit.c
index e7dda7bc..58c2ebd0 100644
--- a/extensions/libipt_limit.c
+++ b/extensions/libipt_limit.c
@@ -181,7 +181,7 @@ struct iptables_match limit
= { NULL,
"limit",
NETFILTER_VERSION,
- sizeof(struct ipt_rateinfo),
+ IPT_ALIGN(sizeof(struct ipt_rateinfo)),
offsetof(struct ipt_rateinfo, prev),
&help,
&init,