aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2021-10-05 17:17:12 +0200
committerLuca Deri <deri@ntop.org>2021-10-05 17:17:12 +0200
commit181a03c5ad41bda533fbfa307627939c2ff30b75 (patch)
treea8cb28193f37912862af09981c8949a9f1f858b3
parent8957c52a48232e54efa8b3cbd23aa7ee06c849c9 (diff)
Compilation fix
-rw-r--r--src/lib/ndpi_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 9e2f3b68b..d0ff8c486 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -7515,7 +7515,7 @@ int ndpi_check_dga_name(struct ndpi_detection_module_struct *ndpi_str,
if(ndpi_match_string_subprotocol(ndpi_str, name, strlen(name), &ret_match, 1) > 0)
return(0); /* Ignore DGA for known domain names */
- if(isnumber(name[0])) {
+ if(isdigit(name[0])) {
struct in_addr ip_addr;
char buf[22];