mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 23:21:38 +01:00
Merge remote branch 'origin/maint-0.2.2'
This commit is contained in:
commit
60fa447afa
1 changed files with 1 additions and 0 deletions
|
@ -282,6 +282,7 @@ dnsserv_resolved(edge_connection_t *conn,
|
|||
name,
|
||||
1, (char*)answer, ttl);
|
||||
} else if (answer_type == RESOLVED_TYPE_HOSTNAME &&
|
||||
answer_len < 256 &&
|
||||
conn->socks_request->command == SOCKS_COMMAND_RESOLVE_PTR) {
|
||||
char *ans = tor_strndup(answer, answer_len);
|
||||
evdns_server_request_add_ptr_reply(req, NULL,
|
||||
|
|
Loading…
Add table
Reference in a new issue