aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/Local/LocalLoginService.cs
diff options
context:
space:
mode:
authorJeff Ames2007-12-06 01:41:41 +0000
committerJeff Ames2007-12-06 01:41:41 +0000
commit4bde56457f574060c1aaaca8effba1f6fe00b6c7 (patch)
tree60c081be8f3d00da63940efd81ce88de6fe1f2a5 /OpenSim/Region/Communications/Local/LocalLoginService.cs
parentSome refactoring of the RestObjectPoster (and related classes). (diff)
downloadopensim-SC_OLD-4bde56457f574060c1aaaca8effba1f6fe00b6c7.zip
opensim-SC_OLD-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.gz
opensim-SC_OLD-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.bz2
opensim-SC_OLD-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.xz
removed some duplicate hard-coded port numbers. changed ports to uint.
Diffstat (limited to 'OpenSim/Region/Communications/Local/LocalLoginService.cs')
-rw-r--r--OpenSim/Region/Communications/Local/LocalLoginService.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalLoginService.cs b/OpenSim/Region/Communications/Local/LocalLoginService.cs
index eef6ed4..103c76f 100644
--- a/OpenSim/Region/Communications/Local/LocalLoginService.cs
+++ b/OpenSim/Region/Communications/Local/LocalLoginService.cs
@@ -121,11 +121,10 @@ namespace OpenSim.Region.Communications.Local
121 theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "]}"; 121 theUser.homeLocation.Y.ToString() + ",r" + theUser.homeLocation.Z.ToString() + "]}";
122 string capsPath = Util.GetRandomCapsPath(); 122 string capsPath = Util.GetRandomCapsPath();
123 response.SimAddress = reg.ExternalEndPoint.Address.ToString(); 123 response.SimAddress = reg.ExternalEndPoint.Address.ToString();
124 response.SimPort = (Int32) reg.ExternalEndPoint.Port; 124 response.SimPort = (uint) reg.ExternalEndPoint.Port;
125 response.RegionX = reg.RegionLocX; 125 response.RegionX = reg.RegionLocX;
126 response.RegionY = reg.RegionLocY; 126 response.RegionY = reg.RegionLocY;
127 127
128
129 response.SeedCapability = "http://" + reg.ExternalHostName + ":" + 128 response.SeedCapability = "http://" + reg.ExternalHostName + ":" +
130 serversInfo.HttpListenerPort.ToString() + "/CAPS/" + capsPath + "0000/"; 129 serversInfo.HttpListenerPort.ToString() + "/CAPS/" + capsPath + "0000/";
131 // response.SeedCapability = "http://" + reg.ExternalHostName + ":" + this.serversInfo.HttpListenerPort.ToString() + "/CapsSeed/" + capsPath + "0000/"; 130 // response.SeedCapability = "http://" + reg.ExternalHostName + ":" + this.serversInfo.HttpListenerPort.ToString() + "/CapsSeed/" + capsPath + "0000/";