From 39ae57e6a3d93cb91def5d76fc54e89075f01867 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Fri, 8 May 2020 18:24:07 +0200 Subject: Cleaned hyperscan leftover Added further hyperscan hooks --- src/include/ndpi_typedefs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index ca1da4ff2..ef3da7cc5 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -1099,7 +1099,9 @@ struct ndpi_detection_module_struct { u_int8_t direction_detect_disable:1, /* disable internal detection of packet direction */ _pad:7; - void *hyperscan; /* Intel Hyperscan */ +#ifdef CUSTOM_NDPI_PROTOCOLS + #include "../../../nDPI-custom/custom_ndpi_typedefs.h" +#endif }; #endif /* NDPI_LIB_COMPILATION */ -- cgit v1.2.3