1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2024-09-30 09:07:58 +02:00
parent c5f157eddd
commit c29ba0d55d
7 changed files with 78 additions and 233 deletions

View 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]);