diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-08-07 19:30:33 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-08-07 19:30:33 +0000 |
commit | 4d39f186bcf88889355c6c59c337bde11089e994 (patch) | |
tree | 6bab2812bf8114ff911d7581eb0890faaf39e6f8 /package/network/utils/xtables-addons/patches-1.x/101-rtsp-linux-3.6-compat.patch | |
parent | 053a3a4aaf81f3ac32087f272eadf1a72453a58c (diff) | |
download | mtk-20170518-4d39f186bcf88889355c6c59c337bde11089e994.zip mtk-20170518-4d39f186bcf88889355c6c59c337bde11089e994.tar.gz mtk-20170518-4d39f186bcf88889355c6c59c337bde11089e994.tar.bz2 |
xtables-addons: remove version 1.x for old kernels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42047
Diffstat (limited to 'package/network/utils/xtables-addons/patches-1.x/101-rtsp-linux-3.6-compat.patch')
-rw-r--r-- | package/network/utils/xtables-addons/patches-1.x/101-rtsp-linux-3.6-compat.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/package/network/utils/xtables-addons/patches-1.x/101-rtsp-linux-3.6-compat.patch b/package/network/utils/xtables-addons/patches-1.x/101-rtsp-linux-3.6-compat.patch deleted file mode 100644 index b8e08b3..0000000 --- a/package/network/utils/xtables-addons/patches-1.x/101-rtsp-linux-3.6-compat.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/extensions/rtsp/nf_conntrack_rtsp.c -+++ b/extensions/rtsp/nf_conntrack_rtsp.c -@@ -28,6 +28,7 @@ - * - Port to new NF API - */ - -+#include <linux/version.h> - #include <linux/module.h> - #include <linux/netfilter.h> - #include <linux/ip.h> -@@ -496,7 +497,11 @@ init(void) - } else { - sprintf(tmpname, "rtsp-%d", i); - } -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0) -+ strncpy(hlpr->name, tmpname, sizeof(hlpr->name)); -+#else - hlpr->name = tmpname; -+#endif - - pr_debug("port #%d: %d\n", i, ports[i]); - |