diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index dd4078b..d94a890 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -56,15 +56,14 @@ namespace OpenSim.Framework | |||
56 | m_externalHostName = externalUri; | 56 | m_externalHostName = externalUri; |
57 | } | 57 | } |
58 | 58 | ||
59 | public SimpleRegionInfo(uint regionLocX, uint regionLocY, string externalUri, int port) | 59 | public SimpleRegionInfo(uint regionLocX, uint regionLocY, string externalUri, uint port) |
60 | { | 60 | { |
61 | |||
62 | m_regionLocX = regionLocX; | 61 | m_regionLocX = regionLocX; |
63 | m_regionLocY = regionLocY; | 62 | m_regionLocY = regionLocY; |
64 | 63 | ||
65 | m_externalHostName = externalUri; | 64 | m_externalHostName = externalUri; |
66 | 65 | ||
67 | m_internalEndPoint = new IPEndPoint(IPAddress.Parse("0.0.0.0"), port); | 66 | m_internalEndPoint = new IPEndPoint(IPAddress.Parse("0.0.0.0"), (int) port); |
68 | } | 67 | } |
69 | 68 | ||
70 | public LLUUID RegionID = LLUUID.Zero; | 69 | public LLUUID RegionID = LLUUID.Zero; |
@@ -270,7 +269,7 @@ namespace OpenSim.Framework | |||
270 | { | 269 | { |
271 | errorMessage = "needs an IP Address (IPAddress)"; | 270 | errorMessage = "needs an IP Address (IPAddress)"; |
272 | } | 271 | } |
273 | this.m_internalEndPoint.Port = source.Configs[sectionName].GetInt("internal_ip_port", NetworkServersInfo.DefaultHttpListenerPort); | 272 | this.m_internalEndPoint.Port = source.Configs[sectionName].GetInt("internal_ip_port", (int) NetworkServersInfo.DefaultHttpListenerPort); |
274 | 273 | ||
275 | string externalHost = source.Configs[sectionName].GetString("external_host_name", "127.0.0.1"); | 274 | string externalHost = source.Configs[sectionName].GetString("external_host_name", "127.0.0.1"); |
276 | if (externalHost != "SYSTEMIP") | 275 | if (externalHost != "SYSTEMIP") |