mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
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.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user