Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rofl0r/proxychains-ng.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core.c b/src/core.c
index c4cdbb4..811ccfd 100644
--- a/src/core.c
+++ b/src/core.c
@@ -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));