Skip to content

Commit

Permalink
xtables-addons patches is needed since at least kernel 6.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Nov 13, 2024
1 parent 20b12a8 commit cee2ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xtables-addons/patches/301-fix-build-with-linux-6.11.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}

#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));
#else
+ strscpy(hlpr->name, tmpname, sizeof(hlpr->name));
Expand Down

0 comments on commit cee2ec0

Please sign in to comment.