Do not add a port zero to end of the hypergrid gateway host name.
If the port is specified it is added but a ":0" is not added if the port is zero. This enables the hypergrid address short form "hypergridGateway:regionName" which is handled by the parser but failed because of this zero port addition.varregion
parent
0882cf0fc3
commit
aa521fb385
|
@ -137,6 +137,9 @@ namespace OpenSim.Services.Interfaces
|
||||||
if ( m_serverURI != string.Empty ) {
|
if ( m_serverURI != string.Empty ) {
|
||||||
return m_serverURI;
|
return m_serverURI;
|
||||||
} else {
|
} else {
|
||||||
|
if (m_httpPort == 0)
|
||||||
|
return "http://" + m_externalHostName + "/";
|
||||||
|
else
|
||||||
return "http://" + m_externalHostName + ":" + m_httpPort + "/";
|
return "http://" + m_externalHostName + ":" + m_httpPort + "/";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue