Complation fix as not on all platforms isnumber() is available

This commit is contained in:
lucaderi
2020-09-10 00:05:02 +02:00
parent 5ac870074b
commit ea4240055d
+1 -1
View File
@@ -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;
}