summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-12 21:34:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-12 21:34:20 +0000
commitf82f62b9920538d9d650bab2ef9690d55df0b720 (patch)
treef1a0b8de68fa1ff27cfec8520c0899cdd9125cbf /target/linux/generic-2.6
parentbfa7afbd224bcbfbfa4c4fe9471eb54895e50220 (diff)
downloadmtk-20170518-f82f62b9920538d9d650bab2ef9690d55df0b720.zip
mtk-20170518-f82f62b9920538d9d650bab2ef9690d55df0b720.tar.gz
mtk-20170518-f82f62b9920538d9d650bab2ef9690d55df0b720.tar.bz2
fix layer7 for 2.6.21
SVN-Revision: 7951
Diffstat (limited to 'target/linux/generic-2.6')
-rw-r--r--target/linux/generic-2.6/patches/100-netfilter_layer7_2.9.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/generic-2.6/patches/100-netfilter_layer7_2.9.patch b/target/linux/generic-2.6/patches/100-netfilter_layer7_2.9.patch
index 5035e0b..437f883 100644
--- a/target/linux/generic-2.6/patches/100-netfilter_layer7_2.9.patch
+++ b/target/linux/generic-2.6/patches/100-netfilter_layer7_2.9.patch
@@ -68,7 +68,7 @@ Index: linux-2.6.21.5/net/ipv4/netfilter/ipt_layer7.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6.21.5/net/ipv4/netfilter/ipt_layer7.c 2007-07-02 01:27:54.195821750 +0200
-@@ -0,0 +1,582 @@
+@@ -0,0 +1,583 @@
+/*
+ Kernel module to match application layer (OSI layer 7) data in connections.
+
@@ -542,6 +542,7 @@ Index: linux-2.6.21.5/net/ipv4/netfilter/ipt_layer7.c
+ .name = "layer7",
+ .match = &match,
+ .matchsize = sizeof(struct ipt_layer7_info),
++ .family = AF_INET,
+ .me = THIS_MODULE
+};
+