fix ipp2p
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 16 Jul 2007 16:07:32 +0000 (16:07 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 16 Jul 2007 16:07:32 +0000 (16:07 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8005 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/generic-2.6/patches-2.6.22/110-ipp2p_0.8.1rc1.patch
target/linux/generic-2.6/patches/110-ipp2p_0.8.1rc1.patch

index 9ff9e2360603eefada7cb7401ab28bc2126616b8..6963ac098e08ec40c24b5582d58ca979cccbf7a0 100644 (file)
@@ -36,7 +36,7 @@ diff -urN linux-2.6.21.1.old/include/linux/netfilter_ipv4/ipt_ipp2p.h linux-2.6.
 diff -urN linux-2.6.21.1.old/net/ipv4/netfilter/ipt_ipp2p.c linux-2.6.21.1.dev/net/ipv4/netfilter/ipt_ipp2p.c
 --- linux-2.6.21.1.old/net/ipv4/netfilter/ipt_ipp2p.c  1970-01-01 01:00:00.000000000 +0100
 +++ linux-2.6.21.1.dev/net/ipv4/netfilter/ipt_ipp2p.c  2007-05-26 20:21:54.587864144 +0200
-@@ -0,0 +1,881 @@
+@@ -0,0 +1,882 @@
 +#if defined(MODVERSIONS)
 +#include <linux/modversions.h>
 +#endif
@@ -893,6 +893,7 @@ diff -urN linux-2.6.21.1.old/net/ipv4/netfilter/ipt_ipp2p.c linux-2.6.21.1.dev/n
 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
 +      .name           = "ipp2p",
 +      .match          = &match,
++      .family         = AF_INET,
 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
 +      .matchsize      = sizeof(struct ipt_p2p_info),
 +#endif
index 1e2ae66682153fe352d73af2da15483c7821b1fb..509c5eb169afda93e9fa705592cf0eba478faecd 100644 (file)
@@ -36,7 +36,7 @@ diff -urN linux-2.6.21.1.old/include/linux/netfilter_ipv4/ipt_ipp2p.h linux-2.6.
 diff -urN linux-2.6.21.1.old/net/ipv4/netfilter/ipt_ipp2p.c linux-2.6.21.1.dev/net/ipv4/netfilter/ipt_ipp2p.c
 --- linux-2.6.21.1.old/net/ipv4/netfilter/ipt_ipp2p.c  1970-01-01 01:00:00.000000000 +0100
 +++ linux-2.6.21.1.dev/net/ipv4/netfilter/ipt_ipp2p.c  2007-05-26 20:21:54.587864144 +0200
-@@ -0,0 +1,881 @@
+@@ -0,0 +1,882 @@
 +#if defined(MODVERSIONS)
 +#include <linux/modversions.h>
 +#endif
@@ -893,6 +893,7 @@ diff -urN linux-2.6.21.1.old/net/ipv4/netfilter/ipt_ipp2p.c linux-2.6.21.1.dev/n
 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
 +      .name           = "ipp2p",
 +      .match          = &match,
++      .family         = AF_INET,
 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
 +      .matchsize      = sizeof(struct ipt_p2p_info),
 +#endif