summaryrefslogtreecommitdiff
path: root/package/network/utils/ipset/patches/100-export.h.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-10-10 13:13:17 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-10-10 13:13:17 +0000
commitb5ab35e8165fd7e6104b53b9d21f86e8db86f818 (patch)
tree0affcbfb24ced551e1093b594e06bb9693f5b496 /package/network/utils/ipset/patches/100-export.h.patch
parent05c244295771b931f295f97b7e71be5f96b13974 (diff)
downloadmtk-20170518-b5ab35e8165fd7e6104b53b9d21f86e8db86f818.zip
mtk-20170518-b5ab35e8165fd7e6104b53b9d21f86e8db86f818.tar.gz
mtk-20170518-b5ab35e8165fd7e6104b53b9d21f86e8db86f818.tar.bz2
ipset: move to trunk and add myself as maintainer
SVN-Revision: 33698
Diffstat (limited to 'package/network/utils/ipset/patches/100-export.h.patch')
-rw-r--r--package/network/utils/ipset/patches/100-export.h.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/network/utils/ipset/patches/100-export.h.patch b/package/network/utils/ipset/patches/100-export.h.patch
new file mode 100644
index 0000000..d8a9ca2
--- /dev/null
+++ b/package/network/utils/ipset/patches/100-export.h.patch
@@ -0,0 +1,20 @@
+--- a/kernel/net/netfilter/ipset/ip_set_getport.c
++++ b/kernel/net/netfilter/ipset/ip_set_getport.c
+@@ -8,7 +8,7 @@
+ /* Get Layer-4 data from the packets */
+
+ #include <linux/version.h>
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+ #include <linux/export.h>
+ #endif
+ #include <linux/ip.h>
+--- a/kernel/net/netfilter/ipset/pfxlen.c
++++ b/kernel/net/netfilter/ipset/pfxlen.c
+@@ -1,5 +1,5 @@
+ #include <linux/version.h>
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)
+ #include <linux/export.h>
+ #endif
+ #include <linux/netfilter/ipset/pfxlen.h>