diff options
author | Luca Deri <deri@ntop.org> | 2019-03-10 21:18:19 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-03-10 21:18:19 +0100 |
commit | 89d548f9d30a006caaf304a962f4cc4cf8cdf6c1 (patch) | |
tree | 50700b67247bb48f4ddb5bbfc42e2e3f39f9c8f1 /src/lib/ndpi_main.c | |
parent | fde43804228d03911aed51076be6f4e4ab4fc0fa (diff) |
Removed categories based on file content
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index b8cdf410b..b0f1383d3 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -915,12 +915,6 @@ static void init_string_based_protocols(struct ndpi_detection_module_struct *ndp // ac_automata_display(ndpi_mod->host_automa.ac_automa, 'n'); #endif - for(i=0; content_match[i].string_to_match != NULL; i++) - ndpi_add_content_subprotocol(ndpi_mod, content_match[i].string_to_match, - content_match[i].protocol_id, - content_match[i].protocol_category, - content_match[i].protocol_breed); - for(i=0; ndpi_en_bigrams[i] != NULL; i++) ndpi_string_to_automa(ndpi_mod, &ndpi_mod->bigrams_automa, (char*)ndpi_en_bigrams[i], |