Fix layer7 user-space iptables compilation (#3307)
authorFlorian Fainelli <florian@openwrt.org>
Sun, 6 Apr 2008 18:01:53 +0000 (18:01 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 6 Apr 2008 18:01:53 +0000 (18:01 +0000)
SVN-Revision: 10745

package/iptables/patches/002-layer7-1.5nbd.patch

index 0de73a2..ef80c8f 100644 (file)
@@ -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