User agent detection improvements

This commit is contained in:
Luca Deri
2020-07-21 12:06:34 +02:00
parent 9f4f228832
commit 879cec94b2
19 changed files with 193 additions and 183 deletions
+4
View File
@@ -6636,6 +6636,10 @@ int ndpi_check_dga_name(struct ndpi_detection_module_struct *ndpi_str,
num_bigram_checks++;
#ifdef DGA_DEBUG
printf("-> Checking %c%c\n", word[i], word[i+1]);
#endif
if(ndpi_match_bigram(ndpi_str, &ndpi_str->bigrams_automa, &word[i])) {
num_found++;
} else {