summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.21/101-netfilter_layer7_pktmatch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.21/101-netfilter_layer7_pktmatch.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.21/101-netfilter_layer7_pktmatch.patch12
1 files changed, 4 insertions, 8 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.21/101-netfilter_layer7_pktmatch.patch b/target/linux/generic-2.6/patches-2.6.21/101-netfilter_layer7_pktmatch.patch
index cabffacc14..be2dff8e16 100644
--- a/target/linux/generic-2.6/patches-2.6.21/101-netfilter_layer7_pktmatch.patch
+++ b/target/linux/generic-2.6/patches-2.6.21/101-netfilter_layer7_pktmatch.patch
@@ -1,7 +1,5 @@
-Index: linux-2.6.21.7/include/linux/netfilter/xt_layer7.h
-===================================================================
---- linux-2.6.21.7.orig/include/linux/netfilter/xt_layer7.h
-+++ linux-2.6.21.7/include/linux/netfilter/xt_layer7.h
+--- a/include/linux/netfilter/xt_layer7.h
++++ b/include/linux/netfilter/xt_layer7.h
@@ -8,6 +8,7 @@ struct xt_layer7_info {
char protocol[MAX_PROTOCOL_LEN];
char pattern[MAX_PATTERN_LEN];
@@ -10,10 +8,8 @@ Index: linux-2.6.21.7/include/linux/netfilter/xt_layer7.h
};
#endif /* _XT_LAYER7_H */
-Index: linux-2.6.21.7/net/netfilter/xt_layer7.c
-===================================================================
---- linux-2.6.21.7.orig/net/netfilter/xt_layer7.c
-+++ linux-2.6.21.7/net/netfilter/xt_layer7.c
+--- a/net/netfilter/xt_layer7.c
++++ b/net/netfilter/xt_layer7.c
@@ -297,34 +297,36 @@ static int match_no_append(struct nf_con
}