aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.4/patches/618-netfilter_multiport_backport.patch
diff options
context:
space:
mode:
authorAndy Boyett <agb@openwrt.org>2009-05-15 10:36:04 +0000
committerAndy Boyett <agb@openwrt.org>2009-05-15 10:36:04 +0000
commit88e632d853ac18fc82ef245486ed952ef124739c (patch)
tree21c2c051c41c9aa3cc6edb39362386b75b78643b /target/linux/generic-2.4/patches/618-netfilter_multiport_backport.patch
parent94921686de5f1ded59d5b3bc79812b31bf4fca48 (diff)
downloadupstream-88e632d853ac18fc82ef245486ed952ef124739c.tar.gz
upstream-88e632d853ac18fc82ef245486ed952ef124739c.tar.bz2
upstream-88e632d853ac18fc82ef245486ed952ef124739c.zip
generic-2.4: refresh patches
SVN-Revision: 15860
Diffstat (limited to 'target/linux/generic-2.4/patches/618-netfilter_multiport_backport.patch')
-rw-r--r--target/linux/generic-2.4/patches/618-netfilter_multiport_backport.patch12
1 files changed, 4 insertions, 8 deletions
diff --git a/target/linux/generic-2.4/patches/618-netfilter_multiport_backport.patch b/target/linux/generic-2.4/patches/618-netfilter_multiport_backport.patch
index 38ac94a562..cc1d898102 100644
--- a/target/linux/generic-2.4/patches/618-netfilter_multiport_backport.patch
+++ b/target/linux/generic-2.4/patches/618-netfilter_multiport_backport.patch
@@ -1,7 +1,5 @@
-Index: linux-2.4.35.4/include/linux/netfilter_ipv4/ipt_multiport.h
-===================================================================
---- linux-2.4.35.4.orig/include/linux/netfilter_ipv4/ipt_multiport.h
-+++ linux-2.4.35.4/include/linux/netfilter_ipv4/ipt_multiport.h
+--- a/include/linux/netfilter_ipv4/ipt_multiport.h
++++ b/include/linux/netfilter_ipv4/ipt_multiport.h
@@ -11,11 +11,12 @@ enum ipt_multiport_flags
#define IPT_MULTI_PORTS 15
@@ -17,10 +15,8 @@ Index: linux-2.4.35.4/include/linux/netfilter_ipv4/ipt_multiport.h
+ u_int8_t invert; /* Invert flag */
};
#endif /*_IPT_MULTIPORT_H*/
-Index: linux-2.4.35.4/net/ipv4/netfilter/ipt_multiport.c
-===================================================================
---- linux-2.4.35.4.orig/net/ipv4/netfilter/ipt_multiport.c
-+++ linux-2.4.35.4/net/ipv4/netfilter/ipt_multiport.c
+--- a/net/ipv4/netfilter/ipt_multiport.c
++++ b/net/ipv4/netfilter/ipt_multiport.c
@@ -1,5 +1,14 @@
/* Kernel module to match one of a list of TCP/UDP ports: ports are in
the same place so we can treat them as equal. */