mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 04:04:16 +00:00
revert 7133a07 - it broke usage in some SOCKS implementations
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
86e8614934
commit
45aa78d953
@ -256,9 +256,6 @@ namespace proxy
|
||||
size += (1 + addr.dns.size); /* name length + domain name */
|
||||
m_response[4] = addr.dns.size;
|
||||
memcpy(m_response + 5, addr.dns.value, addr.dns.size);
|
||||
// replace type to IPv4 for support socks5 clients
|
||||
// without domain name resolving support (like netcat)
|
||||
m_response[3] = ADDR_IPV4;
|
||||
break;
|
||||
}
|
||||
htobe16buf(m_response + size - 2, port); //Port
|
||||
|
Loading…
x
Reference in New Issue
Block a user