mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Fix another ntohl
svn:r4903
This commit is contained in:
parent
ae726e659e
commit
3485a497fe
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user