ipt_TARPIT for Linux 2.6.19
PATCH 1/1 ipt_TARPIT for Linux 2.6.19
Hi,
this patch makes ipt_TARPIT.c conform to the Linux 2.6.19 API.
Max
TARPIT/linux-2.6/net/ipv4/netfilter/ipt_TARPIT.c +3 -4
@@ -35,7 +35,6 @@* - Reply to TCP !SYN,!RST,!FIN with ACK, window 0 bytes, rate-limited */ -#include <linux/config.h> #include <linux/version.h> #include <linux/module.h> #include <linux/skbuff.h>
@@ -214,8 +213,8 @@const struct net_device *in, const struct net_device *out, unsigned int hooknum, - const void *targinfo, - void *userinfo) + const struct xt_target *target, + const void *targinfo) { struct sk_buff *skb = *pskb;struct rtable *rt = (struct rtable *)skb->dst;
@@ -249,8 +248,8 @@static int check (const char *tablename,const void *e_void, +const struct xt_target *target,void *targinfo, -unsigned int targinfosize,unsigned int hook_mask) {const struct ipt_entry *e = e_void;
Patrick McHardy
AppliedQuoted 1 line · Max Kellermann
this patch makes
ipt_TARPIT.cconform to the Linux 2.6.19 API.
Applied, thanks Max.