aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_main.c
diff options
context:
space:
mode:
authorMrRadix <edo.ermini@gmail.com>2020-07-22 11:15:02 +0200
committerMrRadix <edo.ermini@gmail.com>2020-07-22 11:15:02 +0200
commit0a182c6d18cf837ed7cb219ddba5aa3186868158 (patch)
tree18b06bfebd951b730a2fd0a28e2e5593c13ce53d /src/lib/ndpi_main.c
parent53b2b08aeb2682fbdf87075aa9312897a46d764e (diff)
parentd90b333363b157d8eab9205430c83dab986ff965 (diff)
Merge remote-tracking branch 'ntop_origin/dev' into dev
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r--src/lib/ndpi_main.c4
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 {