aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/RegionInfo.cs
diff options
context:
space:
mode:
authorDiva Canto2010-06-29 06:37:39 -0700
committerDiva Canto2010-06-29 06:37:39 -0700
commit1cd9118c7a72a6e80aafe56134630682f2bb04d0 (patch)
tree09f953b9b6150ea29153917b2c159fa621a1cf66 /OpenSim/Framework/RegionInfo.cs
parentdon't report the null uuid as a missing asset on saving oars/iars (diff)
parentThis file wants to be committed. (diff)
downloadopensim-SC-1cd9118c7a72a6e80aafe56134630682f2bb04d0.zip
opensim-SC-1cd9118c7a72a6e80aafe56134630682f2bb04d0.tar.gz
opensim-SC-1cd9118c7a72a6e80aafe56134630682f2bb04d0.tar.bz2
opensim-SC-1cd9118c7a72a6e80aafe56134630682f2bb04d0.tar.xz
Merge branch 'master' into 0.7-post-fixes
Conflicts: OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs
Diffstat (limited to 'OpenSim/Framework/RegionInfo.cs')
-rw-r--r--OpenSim/Framework/RegionInfo.cs20
1 files changed, 13 insertions, 7 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs
index ad98816..afc4060 100644
--- a/OpenSim/Framework/RegionInfo.cs
+++ b/OpenSim/Framework/RegionInfo.cs
@@ -29,14 +29,15 @@ using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using System.Net; 30using System.Net;
31using System.Net.Sockets; 31using System.Net.Sockets;
32using System.Reflection;
32using System.Xml; 33using System.Xml;
33using System.IO; 34using System.IO;
35using log4net;
34using Nini.Config; 36using Nini.Config;
35using OpenMetaverse; 37using OpenMetaverse;
36using OpenMetaverse.StructuredData; 38using OpenMetaverse.StructuredData;
37using OpenSim.Framework.Console; 39using OpenSim.Framework.Console;
38 40
39
40namespace OpenSim.Framework 41namespace OpenSim.Framework
41{ 42{
42 public class RegionLightShareData : ICloneable 43 public class RegionLightShareData : ICloneable
@@ -96,10 +97,9 @@ namespace OpenSim.Framework
96 97
97 [Serializable] 98 [Serializable]
98 public class SimpleRegionInfo 99 public class SimpleRegionInfo
99 { 100 {
100 // private static readonly log4net.ILog m_log 101// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
101 // = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); 102
102
103 /// <summary> 103 /// <summary>
104 /// The port by which http communication occurs with the region (most noticeably, CAPS communication) 104 /// The port by which http communication occurs with the region (most noticeably, CAPS communication)
105 /// </summary> 105 /// </summary>
@@ -327,8 +327,7 @@ namespace OpenSim.Framework
327 327
328 public class RegionInfo 328 public class RegionInfo
329 { 329 {
330 // private static readonly log4net.ILog m_log 330 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
331 // = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
332 331
333 public bool commFailTF = false; 332 public bool commFailTF = false;
334 public ConfigurationMember configMember; 333 public ConfigurationMember configMember;
@@ -772,9 +771,16 @@ namespace OpenSim.Framework
772 } 771 }
773 772
774 if (externalName == "SYSTEMIP") 773 if (externalName == "SYSTEMIP")
774 {
775 m_externalHostName = Util.GetLocalHost().ToString(); 775 m_externalHostName = Util.GetLocalHost().ToString();
776 m_log.InfoFormat(
777 "[REGIONINFO]: Resolving SYSTEMIP to {0} for external hostname of region {1}",
778 m_externalHostName, name);
779 }
776 else 780 else
781 {
777 m_externalHostName = externalName; 782 m_externalHostName = externalName;
783 }
778 784
779 m_regionType = config.GetString("RegionType", String.Empty); 785 m_regionType = config.GetString("RegionType", String.Empty);
780 786