More debug messages to help track the XFF header problem.

viewer-2-initial-appearance
Diva Canto 2011-01-17 11:03:46 -08:00
parent 30320077a2
commit 66f99ae267
2 changed files with 5 additions and 0 deletions

View File

@ -223,6 +223,8 @@ namespace OpenSim.Server.Handlers.Hypergrid
if (ep != null)
return ep.Address.ToString();
}
else
m_log.WarnFormat("[HOME AGENT HANDLER]: No XFF header");
// Oops
return Util.GetCallerIP(request);

View File

@ -208,6 +208,9 @@ namespace OpenSim.Server.Handlers.Simulation
if (ep != null)
return ep.Address.ToString();
}
else
m_log.WarnFormat("[AGENT HANDLER]: No XFF header");
// Oops
return Util.GetCallerIP(request);