aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authordahlia2010-02-17 19:56:30 -0800
committerdahlia2010-02-17 19:56:30 -0800
commitc62a6adb2b234fcbe99e352f4bd2af0cbf683a99 (patch)
tree45a6f081eafae08540de7597dc407529cd5bce29
parentremove old commented out switch statement in LLClientView since this has succ... (diff)
downloadopensim-SC_OLD-c62a6adb2b234fcbe99e352f4bd2af0cbf683a99.zip
opensim-SC_OLD-c62a6adb2b234fcbe99e352f4bd2af0cbf683a99.tar.gz
opensim-SC_OLD-c62a6adb2b234fcbe99e352f4bd2af0cbf683a99.tar.bz2
opensim-SC_OLD-c62a6adb2b234fcbe99e352f4bd2af0cbf683a99.tar.xz
change "SYSTEMIP" to "localhost" in the create region console command prompt
-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 }