From c62a6adb2b234fcbe99e352f4bd2af0cbf683a99 Mon Sep 17 00:00:00 2001 From: dahlia Date: Wed, 17 Feb 2010 19:56:30 -0800 Subject: change "SYSTEMIP" to "localhost" in the create region console command prompt --- OpenSim/Framework/RegionInfo.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Framework') 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 if (config.Contains("ExternalHostName")) { - externalName = config.GetString("ExternalHostName", "SYSTEMIP"); + externalName = config.GetString("ExternalHostName", "localhost"); } else { - externalName = MainConsole.Instance.CmdPrompt("External host name", "SYSTEMIP"); + externalName = MainConsole.Instance.CmdPrompt("External host name", "localhost"); config.Set("ExternalHostName", externalName); } - if (externalName == "SYSTEMIP") + if (externalName == "localhost") m_externalHostName = Util.GetLocalHost().ToString(); else m_externalHostName = externalName; @@ -788,7 +788,7 @@ namespace OpenSim.Framework m_allow_alternate_ports = (bool) configuration_result; break; case "external_host_name": - if ((string) configuration_result != "SYSTEMIP") + if ((string) configuration_result != "localhost") { m_externalHostName = (string) configuration_result; } -- cgit v1.1