diff options
author | Luca Deri <deri@ntop.org> | 2024-11-26 18:43:22 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2024-11-26 18:43:22 +0100 |
commit | 170849f156fe7b803eb08f91722bfaa576f3084f (patch) | |
tree | 357103805b42f827a79c49ae1317eacc864f2dbb /src/include | |
parent | 214a2e53566aefd4641d7233587b2e391e9c29b5 (diff) |
Removed old USE_LEGACY_AHO_CORASICK code
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_private.h | 4 | ||||
-rw-r--r-- | src/include/ndpi_typedefs.h | 2 |
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; |