mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 09:36:34 -05:00
format code
This commit is contained in:
parent
f7e165c114
commit
4aba285a99
@ -147,13 +147,13 @@ func (server *SocksServer) handleSocks5(reader *v2net.TimeOutReader, writer io.W
|
||||
|
||||
response.Error = protocol.ErrorSuccess
|
||||
|
||||
// Some SOCKS software requires a value other than dest. Let's fake one:
|
||||
// Some SOCKS software requires a value other than dest. Let's fake one:
|
||||
response.Port = uint16(38294)
|
||||
response.AddrType = protocol.AddrTypeIPv4
|
||||
response.IPv4[0] = 127
|
||||
response.IPv4[1] = 0
|
||||
response.IPv4[2] = 0
|
||||
response.IPv4[3] = 1
|
||||
response.IPv4[0] = 127
|
||||
response.IPv4[1] = 0
|
||||
response.IPv4[2] = 0
|
||||
response.IPv4[3] = 1
|
||||
|
||||
err = protocol.WriteResponse(writer, response)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user