diff options
author | Luca Deri <lucaderi@users.noreply.github.com> | 2020-07-22 11:36:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-22 11:36:31 +0200 |
commit | 1740042cbb639fae8f1d06b8966cac9d56c52c20 (patch) | |
tree | d092d4a12f6e6b3bfaed3bf17a8e244448cda229 /src/lib/ndpi_main.c | |
parent | b568c26989b9baf72940007d220d5c47eae67618 (diff) | |
parent | f6242f0e4621650a2bc409278b0442d775b14db8 (diff) |
Merge branch 'dev' into ossfuzzbuild
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index bd986f986..b2f294c0b 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -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 { |