[netfilter-cvslog] r6566 -
trunk/patch-o-matic-ng/patchlets/TARPIT/linux-2.6/net/ipv4/netfilter
kaber at netfilter.org
kaber at netfilter.org
Wed Mar 29 11:05:19 CEST 2006
Author: kaber at netfilter.org
Date: 2006-03-29 11:05:16 +0200 (Wed, 29 Mar 2006)
New Revision: 6566
Modified:
trunk/patch-o-matic-ng/patchlets/TARPIT/linux-2.6/net/ipv4/netfilter/ipt_TARPIT.c
Log:
[POM-NG 4/10] Fix the TARPIT extension for 2.6.16 kernels
This patch allows the TARPIT extension to be used with 2.6.16 kernels
Signed-off-by: Krzysztof Piotr Oledzki <ole at ans.pl>
Modified: trunk/patch-o-matic-ng/patchlets/TARPIT/linux-2.6/net/ipv4/netfilter/ipt_TARPIT.c
===================================================================
--- trunk/patch-o-matic-ng/patchlets/TARPIT/linux-2.6/net/ipv4/netfilter/ipt_TARPIT.c 2006-03-29 09:04:42 UTC (rev 6565)
+++ trunk/patch-o-matic-ng/patchlets/TARPIT/linux-2.6/net/ipv4/netfilter/ipt_TARPIT.c 2006-03-29 09:05:16 UTC (rev 6566)
@@ -248,11 +248,13 @@
static int check(const char *tablename,
- const struct ipt_entry *e,
+ const void *e_void,
void *targinfo,
unsigned int targinfosize,
unsigned int hook_mask)
{
+ const struct ipt_entry *e = e_void;
+
/* Only allow these for input/forward packet filtering. */
if (strcmp(tablename, "filter") != 0) {
DEBUGP("TARPIT: bad table %s'.\n", tablename);
More information about the netfilter-cvslog
mailing list