aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-04-06 18:01:53 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-04-06 18:01:53 +0000
commit0647a6e4d093c0b000d65981305c75ec0ccc374f (patch)
tree593df5f166db9939bd10556fc9975230f10e467b
parente24321916a0c996deb5e2e68d39c756691f6730d (diff)
downloadupstream-0647a6e4d093c0b000d65981305c75ec0ccc374f.tar.gz
upstream-0647a6e4d093c0b000d65981305c75ec0ccc374f.tar.bz2
upstream-0647a6e4d093c0b000d65981305c75ec0ccc374f.zip
Fix layer7 user-space iptables compilation (#3307)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10745 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/iptables/patches/002-layer7-1.5nbd.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/iptables/patches/002-layer7-1.5nbd.patch b/package/iptables/patches/002-layer7-1.5nbd.patch
index 0de73a2e97..ef80c8f0cc 100644
--- a/package/iptables/patches/002-layer7-1.5nbd.patch
+++ b/package/iptables/patches/002-layer7-1.5nbd.patch
@@ -2,9 +2,10 @@ Index: iptables-1.3.8/extensions/.layer7-test
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ iptables-1.3.8/extensions/.layer7-test 2007-07-31 15:27:56.000000000 -0500
-@@ -0,0 +1,2 @@
+@@ -0,0 +1,3 @@
+#! /bin/sh
+[ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ipt_layer7.h ] && echo layer7
++[ -f $KERNEL_DIR/include/linux/netfilter/xt_layer7.h ] && echo layer7
Index: iptables-1.3.8/extensions/ipt_layer7.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000