summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/libipt_hashlimit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/libipt_hashlimit.c b/extensions/libipt_hashlimit.c
index 3ed8c586..1df36b4c 100644
--- a/extensions/libipt_hashlimit.c
+++ b/extensions/libipt_hashlimit.c
@@ -355,8 +355,7 @@ static struct iptables_match hashlimit = { NULL,
.name = "hashlimit",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_hashlimit_info)),
- .userspacesize = IPT_ALIGN(sizeof(struct ipt_hashlimit_info)),
- //offsetof(struct ipt_hashlimit_info, prev),
+ .userspacesize = offsetof(struct ipt_hashlimit_info, hinfo),
.help = &help,
.init = &init,
.parse = &parse,