1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 10:31:51 +00:00

xtables-addons patches is needed since at least kernel 6.10

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-11-13 16:58:07 +01:00
parent 20b12a83bd
commit cee2ec000c

View file

@ -4,7 +4,7 @@
} }
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 11, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 10, 0)
strlcpy(hlpr->name, tmpname, sizeof(hlpr->name)); strlcpy(hlpr->name, tmpname, sizeof(hlpr->name));
#else #else
+ strscpy(hlpr->name, tmpname, sizeof(hlpr->name)); + strscpy(hlpr->name, tmpname, sizeof(hlpr->name));