check XFF headers of caller, but be quiet about them

This commit is contained in:
UbitUmarov
2017-05-22 22:04:20 +01:00
parent 4da5d249d8
commit 24885819fc
3 changed files with 8 additions and 8 deletions

View File

@@ -531,11 +531,11 @@ namespace OpenSim.Server.Handlers.Simulation
if (!headers.ContainsKey(xff) || headers[xff] == null)
{
m_log.WarnFormat("[AGENT HANDLER]: No XFF header");
// m_log.WarnFormat("[AGENT HANDLER]: No XFF header");
return Util.GetCallerIP(request);
}
m_log.DebugFormat("[AGENT HANDLER]: XFF is {0}", headers[xff]);
// m_log.DebugFormat("[AGENT HANDLER]: XFF is {0}", headers[xff]);
IPEndPoint ep = Util.GetClientIPFromXFF((string)headers[xff]);
if (ep != null)