aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/RegionInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/RegionInfo.cs')
-rw-r--r--OpenSim/Framework/RegionInfo.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs
index 88b62e0..ee5dd37 100644
--- a/OpenSim/Framework/RegionInfo.cs
+++ b/OpenSim/Framework/RegionInfo.cs
@@ -474,15 +474,15 @@ namespace OpenSim.Framework
474 474
475 if (config.Contains("ExternalHostName")) 475 if (config.Contains("ExternalHostName"))
476 { 476 {
477 externalName = config.GetString("ExternalHostName", "SYSTEMIP"); 477 externalName = config.GetString("ExternalHostName", "localhost");
478 } 478 }
479 else 479 else
480 { 480 {
481 externalName = MainConsole.Instance.CmdPrompt("External host name", "SYSTEMIP"); 481 externalName = MainConsole.Instance.CmdPrompt("External host name", "localhost");
482 config.Set("ExternalHostName", externalName); 482 config.Set("ExternalHostName", externalName);
483 } 483 }
484 484
485 if (externalName == "SYSTEMIP") 485 if (externalName == "localhost")
486 m_externalHostName = Util.GetLocalHost().ToString(); 486 m_externalHostName = Util.GetLocalHost().ToString();
487 else 487 else
488 m_externalHostName = externalName; 488 m_externalHostName = externalName;
@@ -788,7 +788,7 @@ namespace OpenSim.Framework
788 m_allow_alternate_ports = (bool) configuration_result; 788 m_allow_alternate_ports = (bool) configuration_result;
789 break; 789 break;
790 case "external_host_name": 790 case "external_host_name":
791 if ((string) configuration_result != "SYSTEMIP") 791 if ((string) configuration_result != "localhost")
792 { 792 {
793 m_externalHostName = (string) configuration_result; 793 m_externalHostName = (string) configuration_result;
794 } 794 }