diff options
Diffstat (limited to 'OpenSim/Region/Application/OpenSimMain.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 6510eea..e2902dc 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -446,6 +446,12 @@ namespace OpenSim | |||
446 | return m_commsManager.AddUser(tempfirstname,templastname,tempPasswd,regX,regY); | 446 | return m_commsManager.AddUser(tempfirstname,templastname,tempPasswd,regX,regY); |
447 | } | 447 | } |
448 | 448 | ||
449 | /// <summary> | ||
450 | /// Execute the region creation process. This includes setting up scene infrastructure. | ||
451 | /// </summary> | ||
452 | /// <param name="regionInfo"></param> | ||
453 | /// <param name="portadd_flag"></param> | ||
454 | /// <returns></returns> | ||
449 | public UDPServer CreateRegion(RegionInfo regionInfo, bool portadd_flag) | 455 | public UDPServer CreateRegion(RegionInfo regionInfo, bool portadd_flag) |
450 | { | 456 | { |
451 | int port = regionInfo.InternalEndPoint.Port; | 457 | int port = regionInfo.InternalEndPoint.Port; |
@@ -456,6 +462,9 @@ namespace OpenSim | |||
456 | // set initial ServerURI | 462 | // set initial ServerURI |
457 | regionInfo.ServerURI = "http://" + regionInfo.ExternalHostName | 463 | regionInfo.ServerURI = "http://" + regionInfo.ExternalHostName |
458 | + ":" + regionInfo.InternalEndPoint.Port.ToString(); | 464 | + ":" + regionInfo.InternalEndPoint.Port.ToString(); |
465 | |||
466 | regionInfo.HttpPort = m_httpServerPort; | ||
467 | m_log.DebugFormat("[OPENSIM MAIN]: Setting http port for region {0} to {1}", regionInfo.InternalEndPoint, regionInfo.HttpPort); | ||
459 | 468 | ||
460 | if ((proxyUrl.Length > 0) && (portadd_flag)) | 469 | if ((proxyUrl.Length > 0) && (portadd_flag)) |
461 | { | 470 | { |