diff options
author | Luca Deri <deri@ntop.org> | 2021-02-19 15:12:03 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-02-19 15:12:03 +0100 |
commit | dee24f7acf949a66915144e5ccd7f6e578b28065 (patch) | |
tree | bfc219507038d1363c1a9c0430e90f911918817b /src/lib/ndpi_main.c | |
parent | e9350d8fc7ffdb77408c5d3dcc6a4872da01c8cb (diff) |
Removed old unused code
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index a92044838..eaf6206b8 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -619,13 +619,8 @@ static void init_string_based_protocols(struct ndpi_detection_module_struct *ndp // ac_automata_display(ndpi_str->host_automa.ac_automa, 'n'); #endif -#if 1 for (i = 0; ndpi_en_bigrams[i] != NULL; i++) ndpi_string_to_automa(ndpi_str, &ndpi_str->bigrams_automa, (char *) ndpi_en_bigrams[i], 1, 1, 1, 0, 0); -#else - for (i = 0; ndpi_en_popular_bigrams[i] != NULL; i++) - ndpi_string_to_automa(ndpi_str, &ndpi_str->bigrams_automa, (char *) ndpi_en_popular_bigrams[i], 1, 1, 1, 0, 0); -#endif for (i = 0; ndpi_en_impossible_bigrams[i] != NULL; i++) ndpi_string_to_automa(ndpi_str, &ndpi_str->impossible_bigrams_automa, (char *) ndpi_en_impossible_bigrams[i], 1, |