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,7 +137,10 @@ namespace OpenSim.Services.Interfaces
|
|||
if ( m_serverURI != string.Empty ) {
|
||||
return m_serverURI;
|
||||
} else {
|
||||
return "http://" + m_externalHostName + ":" + m_httpPort + "/";
|
||||
if (m_httpPort == 0)
|
||||
return "http://" + m_externalHostName + "/";
|
||||
else
|
||||
return "http://" + m_externalHostName + ":" + m_httpPort + "/";
|
||||
}
|
||||
}
|
||||
set {
|
||||
|
|
Loading…
Reference in New Issue