aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/avast_securedns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/avast_securedns.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/protocols/avast_securedns.c b/src/lib/protocols/avast_securedns.c
index 5edd1e689..a640d6815 100644
--- a/src/lib/protocols/avast_securedns.c
+++ b/src/lib/protocols/avast_securedns.c
@@ -1,5 +1,5 @@
/*
- * avast.c
+ * avast_securedns.c
*
* Copyright (C) 2012-22 - ntop.org
*
@@ -44,7 +44,7 @@ static void ndpi_search_avast_securedns(struct ndpi_detection_module_struct *ndp
return;
}
- if (strncasecmp((char *)&packet->payload[15], "securedns", strlen("securedns")) == 0)
+ if (strncasecmp((char *)&packet->payload[15], "securedns", NDPI_STATICSTRING_LEN("securedns")) == 0)
{
ndpi_int_avast_securedns_add_connection(ndpi_struct, flow);
return;