proxy_gethostbyname_old(): fix returned address type

pull/356/head
rofl0r 2020-10-28 11:06:21 +00:00
parent 82c766461c
commit 55dce2c040
1 changed files with 1 additions and 0 deletions

View File

@ -828,6 +828,7 @@ got_buff:
&addr ,sizeof(struct in_addr));
hostent_space.h_name = addr_name;
hostent_space.h_length = sizeof (in_addr_t);
hostent_space.h_addrtype = AF_INET;
}
proxychains_write_log("|DNS-response| %s is %s\n",
name, inet_ntoa(*(struct in_addr*)&addr));