mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Update xtables-addons
This commit is contained in:
parent
c5f157eddd
commit
c29ba0d55d
7 changed files with 78 additions and 233 deletions
15
xtables-addons/patches/301-fix-build-with-linux-6.11.patch
Normal file
15
xtables-addons/patches/301-fix-build-with-linux-6.11.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- a/extensions/rtsp/nf_conntrack_rtsp.c
|
||||
+++ b/extensions/rtsp/nf_conntrack_rtsp.c
|
||||
@@ -735,8 +735,12 @@ init(void)
|
||||
}
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0)
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 11, 0)
|
||||
strlcpy(hlpr->name, tmpname, sizeof(hlpr->name));
|
||||
#else
|
||||
+ strscpy(hlpr->name, tmpname, sizeof(hlpr->name));
|
||||
+#endif
|
||||
+#else
|
||||
hlpr->name = tmpname;
|
||||
#endif
|
||||
pr_debug("port #%d: %d\n", i, ports[i]);
|
Loading…
Add table
Add a link
Reference in a new issue