aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlucaderi <deri@ntop.org>2020-09-10 00:05:02 +0200
committerlucaderi <deri@ntop.org>2020-09-10 00:05:02 +0200
commitea4240055d5301b52d9fa934b8d14c126375eb17 (patch)
tree29e2405bedb9882928e1e9b2f00ef20ba1651f24 /src
parent5ac870074bf28d1e73d3b0a8c240980b19972826 (diff)
Complation fix as not on all platforms isnumber() is available
Diffstat (limited to 'src')
-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 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;
}