diff options
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/Interfaces/IGridService.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs index d7da056..6ed681f 100644 --- a/OpenSim/Services/Interfaces/IGridService.cs +++ b/OpenSim/Services/Interfaces/IGridService.cs | |||
@@ -137,7 +137,10 @@ namespace OpenSim.Services.Interfaces | |||
137 | if ( m_serverURI != string.Empty ) { | 137 | if ( m_serverURI != string.Empty ) { |
138 | return m_serverURI; | 138 | return m_serverURI; |
139 | } else { | 139 | } else { |
140 | return "http://" + m_externalHostName + ":" + m_httpPort + "/"; | 140 | if (m_httpPort == 0) |
141 | return "http://" + m_externalHostName + "/"; | ||
142 | else | ||
143 | return "http://" + m_externalHostName + ":" + m_httpPort + "/"; | ||
141 | } | 144 | } |
142 | } | 145 | } |
143 | set { | 146 | set { |