aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_main.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2021-10-13 19:17:57 +0200
committerLuca Deri <deri@ntop.org>2021-10-13 19:18:05 +0200
commit09668496c30ac5781f7bf54187235b3f62030113 (patch)
tree74396dd205f94fe68180cde5fb50276fec1014c2 /src/lib/ndpi_main.c
parenta2e9730b23bad7fea0047ac275786115f5912e84 (diff)
Indemt
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r--src/lib/ndpi_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index d0ff8c486..06edfa28a 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -7638,8 +7638,8 @@ int ndpi_check_dga_name(struct ndpi_detection_module_struct *ndpi_str,
|| ((max_domain_element_len >= 19 /* word too long. Example bbcbedxhgjmdobdprmen.com */) && ((num_char_repetitions > 1) || (num_digits > 1)))
) {
if(flow) {
- ndpi_set_risk(ndpi_str, flow, NDPI_SUSPICIOUS_DGA_DOMAIN);
- }
+ ndpi_set_risk(ndpi_str, flow, NDPI_SUSPICIOUS_DGA_DOMAIN);
+ }
if(ndpi_verbose_dga_detection)
printf("[DGA] Found!");