diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index d7ae338dab..737c3b6b59 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1317,7 +1317,7 @@ connection_ap_handshake_socks_resolved(connection_t *conn, if (answer_type == RESOLVED_TYPE_IPV4) { uint32_t a = ntohl(get_uint32(answer)); if (a) - client_dns_set_addressmap(conn->socks_request->address, ntohl(a), + client_dns_set_addressmap(conn->socks_request->address, a, conn->chosen_exit_name, ttl); }