1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00
This commit is contained in:
suyuan 2023-12-25 12:48:29 +08:00 committed by GitHub
commit ced410d6b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 4 deletions

View file

@ -1,9 +1,10 @@
--- a/ndpi-netfilter/src/main.c 2023-12-22 18:09:04.107421950 +0100
+++ b/ndpi-netfilter/src/main.c 2023-12-22 18:10:11.038240353 +0100
@@ -103,13 +103,7 @@
@@ -103,13 +103,9 @@
static char debug_name[]="debug";
static char risk_name[]="risks";
+#if LINUX_VERSION_CODE > KERNEL_VERSION(5,19,0)
-#ifdef CONFIG_NF_CONNTRACK_DESTROY_HOOK
#define USE_NF_CONNTRACK_DESTROY_HOOK
-#elif LINUX_VERSION_CODE > KERNEL_VERSION(5,19,0)
@ -11,6 +12,7 @@
-#define USE_LIVEPATCH
-#endif
-#endif
+#endif
#ifdef USE_LIVEPATCH
#if IS_ENABLED(CONFIG_LIVEPATCH)