diff options
author | rofl0r <rofl0r@users.noreply.github.com> | 2020-10-28 14:06:21 +0300 |
---|---|---|
committer | rofl0r <rofl0r@users.noreply.github.com> | 2020-10-28 14:12:36 +0300 |
commit | 55dce2c04094a42ae12ebdb8872a5bbb479b356e (patch) | |
tree | 3e7fbb7bcba7b87bb55ff8ace29a2f980b2e4375 | |
parent | 82c766461cbbca7e66b8508061e59bb3690a3130 (diff) |
proxy_gethostbyname_old(): fix returned address type
-rw-r--r-- | src/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)); |