From a6dcd45cef58f0fc52f903776d59b7c21000ef1e Mon Sep 17 00:00:00 2001 From: jow Date: Thu, 17 Jan 2013 12:29:26 +0000 Subject: xtables-addons: move to package/, add myself as maintainer git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35193 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches/101-rtsp-linux-3.6-compat.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/network/utils/xtables-addons/patches/101-rtsp-linux-3.6-compat.patch (limited to 'package/network/utils/xtables-addons/patches/101-rtsp-linux-3.6-compat.patch') 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 new file mode 100644 index 000000000..b8e08b3a3 --- /dev/null +++ b/package/network/utils/xtables-addons/patches/101-rtsp-linux-3.6-compat.patch @@ -0,0 +1,22 @@ +--- a/extensions/rtsp/nf_conntrack_rtsp.c ++++ b/extensions/rtsp/nf_conntrack_rtsp.c +@@ -28,6 +28,7 @@ + * - Port to new NF API + */ + ++#include + #include + #include + #include +@@ -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]); + -- cgit v1.2.3