Skip to content

Commit

Permalink
Compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaderi committed Oct 5, 2021
1 parent 8957c52 commit 181a03c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/ndpi_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down

0 comments on commit 181a03c

Please sign in to comment.