diff options
author | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org> | 2005-02-07 18:44:31 +0000 |
---|---|---|
committer | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org> | 2005-02-07 18:44:31 +0000 |
commit | 3e5e0e277c18813fd477fb0ea6dfaca22b25e88a (patch) | |
tree | cad32b578d8af29c8842399338883cdec2f10c61 /extensions | |
parent | 3413a7555ff8dcc0c07c2eded690b660f1e03345 (diff) |
Fix rule deletion (hinfo pointer initialized by kernel, don't compare it in userspace). (Samuel Jean)
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/libipt_hashlimit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/libipt_hashlimit.c b/extensions/libipt_hashlimit.c index 3ed8c58..1df36b4 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, |