aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/HypergridService/UserAgentService.cs
diff options
context:
space:
mode:
authorMelanie Thielker2017-01-03 18:31:17 +0000
committerMelanie Thielker2017-01-03 18:31:17 +0000
commit995242b351a5460bbb6358f490a6679f7e660b42 (patch)
tree8a9242ef9282942627a74cbad680a7d489f698b9 /OpenSim/Services/HypergridService/UserAgentService.cs
parentSuppress error messages in the log if functions are not enabled. Just return ... (diff)
downloadopensim-SC-995242b351a5460bbb6358f490a6679f7e660b42.zip
opensim-SC-995242b351a5460bbb6358f490a6679f7e660b42.tar.gz
opensim-SC-995242b351a5460bbb6358f490a6679f7e660b42.tar.bz2
opensim-SC-995242b351a5460bbb6358f490a6679f7e660b42.tar.xz
Suppress misleading message when logging in locally
The gatekeeper and travel info address will not actually be set there, stop OpenSim from showing a blank address. It's confusing.
Diffstat (limited to 'OpenSim/Services/HypergridService/UserAgentService.cs')
-rw-r--r--OpenSim/Services/HypergridService/UserAgentService.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Services/HypergridService/UserAgentService.cs b/OpenSim/Services/HypergridService/UserAgentService.cs
index 317d006..e701ec6 100644
--- a/OpenSim/Services/HypergridService/UserAgentService.cs
+++ b/OpenSim/Services/HypergridService/UserAgentService.cs
@@ -301,8 +301,12 @@ namespace OpenSim.Services.HypergridService
301 301
302 // Everything is ok 302 // Everything is ok
303 303
304 // Update the perceived IP Address of our grid 304 if (!fromLogin)
305 m_log.DebugFormat("[USER AGENT SERVICE]: Gatekeeper sees me as {0}", myExternalIP); 305 {
306 // Update the perceived IP Address of our grid
307 m_log.DebugFormat("[USER AGENT SERVICE]: Gatekeeper sees me as {0}", myExternalIP);
308 }
309
306 travel.MyIpAddress = myExternalIP; 310 travel.MyIpAddress = myExternalIP;
307 311
308 StoreTravelInfo(travel); 312 StoreTravelInfo(travel);