aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_private.h4
-rw-r--r--src/include/ndpi_typedefs.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/src/include/ndpi_private.h b/src/include/ndpi_private.h
index a8399f65a..9dbc57324 100644
--- a/src/include/ndpi_private.h
+++ b/src/include/ndpi_private.h
@@ -358,11 +358,7 @@ struct ndpi_detection_module_struct {
/* *** If you add a new Patricia tree, please update ptree_type above! *** */
struct {
-#ifdef USE_LEGACY_AHO_CORASICK
- ndpi_automa hostnames, hostnames_shadow;
-#else
ndpi_domain_classify *sc_hostnames, *sc_hostnames_shadow;
-#endif
void *ipAddresses, *ipAddresses_shadow; /* Patricia */
void *ipAddresses6, *ipAddresses6_shadow; /* Patricia IPv6*/
u_int8_t categories_loaded;
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 6d2373a76..175d61a42 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -41,8 +41,6 @@
/* Used by both nDPI core and patricia code under third-party */
#include "ndpi_patricia_typedefs.h"
-// #define USE_LEGACY_AHO_CORASICK
-
#ifndef NDPI_CFFI_PREPROCESSING
#ifndef u_char
typedef unsigned char u_char;