From c9a3a764f16ca6b60c7dbd08bf03bda2075d38ef Mon Sep 17 00:00:00 2001 From: Homer Horwitz Date: Sun, 15 Mar 2009 21:01:04 +0000 Subject: regionInfo isn't defined here yet, which leads to a NRE. Grid-server provided us with the data, so let's use it for now. Hopefully fixes Mantis #3297. --- OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Communications/OGS1/OGS1GridServices.cs') diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index 6191f27..a397093 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs @@ -418,7 +418,7 @@ namespace OpenSim.Region.Communications.OGS1 // Ok, so this is definitively the wrong place to do this, way too hard coded, but it doesn't seem we GET this info? - string simURI = "http://" + regionInfo.ExternalHostName + ":" + regionInfo.InternalEndPoint.Port; + string simURI = "http://" + externalHostName + ":" + simPort; // string externalUri = (string) responseData["sim_uri"]; -- cgit v1.1