aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/SerializableRegionInfo.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/Framework/SerializableRegionInfo.cs
parentSome refactoring of the RestObjectPoster (and related classes). (diff)
downloadopensim-SC-4bde56457f574060c1aaaca8effba1f6fe00b6c7.zip
opensim-SC-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.gz
opensim-SC-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.bz2
opensim-SC-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.xz
removed some duplicate hard-coded port numbers. changed ports to uint.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/SerializableRegionInfo.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Framework/SerializableRegionInfo.cs b/OpenSim/Framework/SerializableRegionInfo.cs
index dc440b6..c7e7d27 100644
--- a/OpenSim/Framework/SerializableRegionInfo.cs
+++ b/OpenSim/Framework/SerializableRegionInfo.cs
@@ -51,7 +51,6 @@ namespace OpenSim.Framework
51 m_externalHostName = ConvertFrom.ExternalHostName; 51 m_externalHostName = ConvertFrom.ExternalHostName;
52 m_remotingPort = ConvertFrom.RemotingPort; 52 m_remotingPort = ConvertFrom.RemotingPort;
53 RemotingAddress = ConvertFrom.RemotingAddress; 53 RemotingAddress = ConvertFrom.RemotingAddress;
54
55 } 54 }
56 public SearializableRegionInfo(uint regionLocX, uint regionLocY, IPEndPoint internalEndPoint, string externalUri) 55 public SearializableRegionInfo(uint regionLocX, uint regionLocY, IPEndPoint internalEndPoint, string externalUri)
57 { 56 {
@@ -63,15 +62,14 @@ namespace OpenSim.Framework
63 m_externalHostName = externalUri; 62 m_externalHostName = externalUri;
64 } 63 }
65 64
66 public SearializableRegionInfo(uint regionLocX, uint regionLocY, string externalUri, int port) 65 public SearializableRegionInfo(uint regionLocX, uint regionLocY, string externalUri, uint port)
67 { 66 {
68
69 m_regionLocX = regionLocX; 67 m_regionLocX = regionLocX;
70 m_regionLocY = regionLocY; 68 m_regionLocY = regionLocY;
71 69
72 m_externalHostName = externalUri; 70 m_externalHostName = externalUri;
73 71
74 m_internalEndPoint = new IPEndPoint(IPAddress.Parse("0.0.0.0"), port); 72 m_internalEndPoint = new IPEndPoint(IPAddress.Parse("0.0.0.0"), (int) port);
75 } 73 }
76 74
77 public LLUUID RegionID = LLUUID.Zero; 75 public LLUUID RegionID = LLUUID.Zero;