Fix for domain address

pull/40/head
V2Ray 2015-10-06 17:24:39 +02:00
parent 85311a95dd
commit 7a24dc3e09
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ func (server *SocksServer) AcceptPackets(conn *net.UDPConn) error {
udpPacket := v2net.NewPacket(request.Destination(), request.Data, false)
log.Info("Send packet to %s with %d bytes", udpPacket.Destination().String(), len(request.Data))
go server.handlePacket(conn, udpPacket, addr, v2net.IPAddress(request.Address.IP(), request.Address.Port()))
go server.handlePacket(conn, udpPacket, addr, request.Address)
}
}