diff options
Diffstat (limited to 'OpenSim/Framework/General/Types/RegionInfo.cs')
-rw-r--r-- | OpenSim/Framework/General/Types/RegionInfo.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Framework/General/Types/RegionInfo.cs b/OpenSim/Framework/General/Types/RegionInfo.cs index 57bb398..ef05534 100644 --- a/OpenSim/Framework/General/Types/RegionInfo.cs +++ b/OpenSim/Framework/General/Types/RegionInfo.cs | |||
@@ -207,7 +207,14 @@ namespace OpenSim.Framework.Types | |||
207 | this.m_internalEndPoint.Port = (int)configuration_result; | 207 | this.m_internalEndPoint.Port = (int)configuration_result; |
208 | break; | 208 | break; |
209 | case "external_host_name": | 209 | case "external_host_name": |
210 | this.m_externalHostName = (string)configuration_result; | 210 | if ((string)configuration_result != "SYSTEMIP") |
211 | { | ||
212 | this.m_externalHostName = (string)configuration_result; | ||
213 | } | ||
214 | else | ||
215 | { | ||
216 | this.m_externalHostName = Util.GetLocalHost().ToString(); | ||
217 | } | ||
211 | break; | 218 | break; |
212 | case "terrain_file": | 219 | case "terrain_file": |
213 | this.estateSettings.terrainFile = (string)configuration_result; | 220 | this.estateSettings.terrainFile = (string)configuration_result; |