mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:50:37 +02:00
fix ipset bitops not working
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7520 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
25bb457b35
commit
956ca1e806
@ -29,6 +29,7 @@ define Build/Compile
|
|||||||
$(call Build/Compile/Default, \
|
$(call Build/Compile/Default, \
|
||||||
COPT_FLAGS="$(TARGET_CFLAGS)" \
|
COPT_FLAGS="$(TARGET_CFLAGS)" \
|
||||||
KERNEL_DIR="$(LINUX_DIR)" \
|
KERNEL_DIR="$(LINUX_DIR)" \
|
||||||
|
PREFIX="/usr" \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -1,72 +1,72 @@
|
|||||||
Index: ipset-2.2.3/ipset.c
|
diff -ruN ipset-2.2.3/ipset.c ipset-2.2.3.new/ipset.c
|
||||||
===================================================================
|
--- ipset-2.2.3/ipset.c 2005-04-05 02:56:02.000000000 -0500
|
||||||
--- ipset-2.2.3.orig/ipset.c 2007-06-04 13:22:37.544147704 +0200
|
+++ ipset-2.2.3.new/ipset.c 2007-05-31 14:05:13.763087750 -0500
|
||||||
+++ ipset-2.2.3/ipset.c 2007-06-04 13:22:37.644132504 +0200
|
@@ -21,7 +21,7 @@
|
||||||
@@ -21,7 +21,6 @@
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
-#include <asm/bitops.h>
|
-#include <asm/bitops.h>
|
||||||
|
+#include <linux/bitops.h>
|
||||||
|
|
||||||
#include "ipset.h"
|
#include "ipset.h"
|
||||||
|
|
||||||
Index: ipset-2.2.3/ipset_iphash.c
|
diff -ruN ipset-2.2.3/ipset_iphash.c ipset-2.2.3.new/ipset_iphash.c
|
||||||
===================================================================
|
--- ipset-2.2.3/ipset_iphash.c 2005-01-19 07:38:57.000000000 -0600
|
||||||
--- ipset-2.2.3.orig/ipset_iphash.c 2007-06-04 13:22:37.550146792 +0200
|
+++ ipset-2.2.3.new/ipset_iphash.c 2007-05-31 14:05:32.212240750 -0500
|
||||||
+++ ipset-2.2.3/ipset_iphash.c 2007-06-04 13:22:37.644132504 +0200
|
@@ -25,7 +25,7 @@
|
||||||
@@ -25,7 +25,6 @@
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
-#include <asm/bitops.h>
|
-#include <asm/bitops.h>
|
||||||
|
+#include <linux/bitops.h>
|
||||||
#include <asm/types.h>
|
#include <asm/types.h>
|
||||||
|
|
||||||
#include <linux/netfilter_ipv4/ip_set_iphash.h>
|
#include <linux/netfilter_ipv4/ip_set_iphash.h>
|
||||||
Index: ipset-2.2.3/ipset_ipmap.c
|
diff -ruN ipset-2.2.3/ipset_ipmap.c ipset-2.2.3.new/ipset_ipmap.c
|
||||||
===================================================================
|
--- ipset-2.2.3/ipset_ipmap.c 2005-01-19 07:38:57.000000000 -0600
|
||||||
--- ipset-2.2.3.orig/ipset_ipmap.c 2007-06-04 13:22:37.556145880 +0200
|
+++ ipset-2.2.3.new/ipset_ipmap.c 2007-05-31 14:05:47.969225500 -0500
|
||||||
+++ ipset-2.2.3/ipset_ipmap.c 2007-06-04 13:22:37.644132504 +0200
|
@@ -22,7 +22,7 @@
|
||||||
@@ -22,7 +22,6 @@
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
-#include <asm/bitops.h>
|
-#include <asm/bitops.h>
|
||||||
|
+#include <linux/bitops.h>
|
||||||
|
|
||||||
#include <linux/netfilter_ipv4/ip_set_ipmap.h>
|
#include <linux/netfilter_ipv4/ip_set_ipmap.h>
|
||||||
#include "ipset.h"
|
#include "ipset.h"
|
||||||
Index: ipset-2.2.3/ipset_macipmap.c
|
diff -ruN ipset-2.2.3/ipset_macipmap.c ipset-2.2.3.new/ipset_macipmap.c
|
||||||
===================================================================
|
--- ipset-2.2.3/ipset_macipmap.c 2005-01-19 07:38:57.000000000 -0600
|
||||||
--- ipset-2.2.3.orig/ipset_macipmap.c 2007-06-04 13:22:37.561145120 +0200
|
+++ ipset-2.2.3.new/ipset_macipmap.c 2007-05-31 14:06:17.627079000 -0500
|
||||||
+++ ipset-2.2.3/ipset_macipmap.c 2007-06-04 13:22:37.645132352 +0200
|
@@ -24,7 +24,7 @@
|
||||||
@@ -24,7 +24,6 @@
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
-#include <asm/bitops.h>
|
-#include <asm/bitops.h>
|
||||||
|
+#include <linux/bitops.h>
|
||||||
#include <linux/if_ether.h>
|
#include <linux/if_ether.h>
|
||||||
|
|
||||||
#include <linux/netfilter_ipv4/ip_set_macipmap.h>
|
#include <linux/netfilter_ipv4/ip_set_macipmap.h>
|
||||||
Index: ipset-2.2.3/ipset_nethash.c
|
diff -ruN ipset-2.2.3/ipset_nethash.c ipset-2.2.3.new/ipset_nethash.c
|
||||||
===================================================================
|
--- ipset-2.2.3/ipset_nethash.c 2005-05-09 00:44:25.000000000 -0500
|
||||||
--- ipset-2.2.3.orig/ipset_nethash.c 2007-06-04 13:22:37.567144208 +0200
|
+++ ipset-2.2.3.new/ipset_nethash.c 2007-05-31 14:06:43.392689250 -0500
|
||||||
+++ ipset-2.2.3/ipset_nethash.c 2007-06-04 13:22:37.645132352 +0200
|
@@ -25,7 +25,7 @@
|
||||||
@@ -25,7 +25,6 @@
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
-#include <asm/bitops.h>
|
-#include <asm/bitops.h>
|
||||||
|
+#include <linux/bitops.h>
|
||||||
#include <asm/types.h>
|
#include <asm/types.h>
|
||||||
|
|
||||||
#include <linux/netfilter_ipv4/ip_set_nethash.h>
|
#include <linux/netfilter_ipv4/ip_set_nethash.h>
|
||||||
Index: ipset-2.2.3/ipset_portmap.c
|
diff -ruN ipset-2.2.3/ipset_portmap.c ipset-2.2.3.new/ipset_portmap.c
|
||||||
===================================================================
|
--- ipset-2.2.3/ipset_portmap.c 2005-01-19 07:38:57.000000000 -0600
|
||||||
--- ipset-2.2.3.orig/ipset_portmap.c 2007-06-04 13:22:37.573143296 +0200
|
+++ ipset-2.2.3.new/ipset_portmap.c 2007-05-31 14:06:58.521634750 -0500
|
||||||
+++ ipset-2.2.3/ipset_portmap.c 2007-06-04 13:22:37.645132352 +0200
|
@@ -21,7 +21,7 @@
|
||||||
@@ -21,7 +21,6 @@
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
-#include <asm/bitops.h>
|
-#include <asm/bitops.h>
|
||||||
|
+#include <linux/bitops.h>
|
||||||
|
|
||||||
#include <linux/netfilter_ipv4/ip_set_portmap.h>
|
#include <linux/netfilter_ipv4/ip_set_portmap.h>
|
||||||
#include "ipset.h"
|
#include "ipset.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user