diff options
author | John Crispin <john@openwrt.org> | 2014-11-19 09:21:12 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-11-19 09:21:12 +0000 |
commit | 2d09efcd26be6ba4d004691fce1db1e382501d26 (patch) | |
tree | 67378a1497eaa701216e0d9f8b15f33c32d9de17 /package/network/utils/xtables-addons/patches/101-rtsp-linux-3.6-compat.patch | |
parent | d460500a72f291d96a63cda7b8be38d3e0a7a28d (diff) | |
download | mtk-20170518-2d09efcd26be6ba4d004691fce1db1e382501d26.zip mtk-20170518-2d09efcd26be6ba4d004691fce1db1e382501d26.tar.gz mtk-20170518-2d09efcd26be6ba4d004691fce1db1e382501d26.tar.bz2 |
nf_conntrack_rtsp: update to latest version
Update nf_conntrack_rtsp to latest version based on http://mike.it-loops.com/rtsp/ (rtsp-module-3.7-v2.tar.gz).
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 43311
Diffstat (limited to 'package/network/utils/xtables-addons/patches/101-rtsp-linux-3.6-compat.patch')
-rw-r--r-- | package/network/utils/xtables-addons/patches/101-rtsp-linux-3.6-compat.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/package/network/utils/xtables-addons/patches/101-rtsp-linux-3.6-compat.patch b/package/network/utils/xtables-addons/patches/101-rtsp-linux-3.6-compat.patch deleted file mode 100644 index b8e08b3..0000000 --- a/package/network/utils/xtables-addons/patches/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]); - |