From ea4240055d5301b52d9fa934b8d14c126375eb17 Mon Sep 17 00:00:00 2001 From: lucaderi Date: Thu, 10 Sep 2020 00:05:02 +0200 Subject: Complation fix as not on all platforms isnumber() is available --- src/lib/ndpi_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index d8a3b354f..9fcab8cf9 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -6690,7 +6690,7 @@ int ndpi_check_dga_name(struct ndpi_detection_module_struct *ndpi_str, if(tmp[j] == '.') num_dots++; else if(num_dots == 0) { - if(!isnumber(tmp[j])) + if(!isdigit(tmp[j])) first_element_is_numeric = 0; } -- cgit v1.2.3