summaryrefslogtreecommitdiff
path: root/package/iptables/patches
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
commit52315c5150233fa47b16c73bc0ee661ccfad6b2e (patch)
tree63704a1525dbcc2147e375fc91a4820a71d1adc9 /package/iptables/patches
parent88cb2e91d6f432f87c7792fd0b67b5906d67f5b3 (diff)
downloadmtk-20170518-52315c5150233fa47b16c73bc0ee661ccfad6b2e.zip
mtk-20170518-52315c5150233fa47b16c73bc0ee661ccfad6b2e.tar.gz
mtk-20170518-52315c5150233fa47b16c73bc0ee661ccfad6b2e.tar.bz2
Fix layer7 user-space iptables compilation (#3307)
SVN-Revision: 10745
Diffstat (limited to 'package/iptables/patches')
-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 0de73a2..ef80c8f 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