diff options
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r-- | OpenSim/Framework/Communications/GridInfoService.cs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/GridInfoService.cs b/OpenSim/Framework/Communications/GridInfoService.cs index 488ce8e..bb54c1b 100644 --- a/OpenSim/Framework/Communications/GridInfoService.cs +++ b/OpenSim/Framework/Communications/GridInfoService.cs | |||
@@ -102,9 +102,15 @@ namespace OpenSim.Framework.Communications | |||
102 | else if (null != netCfg) | 102 | else if (null != netCfg) |
103 | { | 103 | { |
104 | if (grid) | 104 | if (grid) |
105 | _info["login"] = netCfg.GetString("user_server_url"); | 105 | _info["login"] |
106 | else | 106 | = netCfg.GetString( |
107 | _info["login"] = String.Format("http://127.0.0.1:{0}/", netCfg.GetString("http_listener_port")); | 107 | "user_server_url", "http://127.0.0.1:" + UserConfig.DefaultHttpPort.ToString()); |
108 | else | ||
109 | _info["login"] | ||
110 | = String.Format( | ||
111 | "http://127.0.0.1:{0}/", | ||
112 | netCfg.GetString("http_listener_port", NetworkServersInfo.DefaultHttpListenerPort)); | ||
113 | |||
108 | IssueWarning(); | 114 | IssueWarning(); |
109 | } | 115 | } |
110 | else | 116 | else |