1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00
This commit is contained in:
V2Ray 2015-11-02 23:54:11 +01:00
parent 1a4405dbe1
commit 8fbb9762db

View File

@ -198,7 +198,7 @@ func (server *SocksServer) handleUDP(reader *v2net.TimeOutReader, writer io.Writ
case udpAddr.IsIPv6(): case udpAddr.IsIPv6():
response.SetIPv6(udpAddr.IP()) response.SetIPv6(udpAddr.IP())
case udpAddr.IsDomain(): case udpAddr.IsDomain():
response.SetDOmain(udpAddr.Domain()) response.SetDomain(udpAddr.Domain())
} }
responseBuffer := alloc.NewSmallBuffer().Clear() responseBuffer := alloc.NewSmallBuffer().Clear()