diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs b/OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs index 8a3875d..9daeb73 100644 --- a/OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs +++ b/OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs | |||
@@ -229,8 +229,8 @@ namespace OpenSim.Server.Handlers.MapImage | |||
229 | 229 | ||
230 | private System.Net.IPAddress GetCallerIP(IOSHttpRequest request) | 230 | private System.Net.IPAddress GetCallerIP(IOSHttpRequest request) |
231 | { | 231 | { |
232 | if (!m_Proxy) | 232 | // if (!m_Proxy) |
233 | return request.RemoteIPEndPoint.Address; | 233 | // return request.RemoteIPEndPoint.Address; |
234 | 234 | ||
235 | // We're behind a proxy | 235 | // We're behind a proxy |
236 | string xff = "X-Forwarded-For"; | 236 | string xff = "X-Forwarded-For"; |
@@ -240,7 +240,7 @@ namespace OpenSim.Server.Handlers.MapImage | |||
240 | 240 | ||
241 | if (xffValue == null || (xffValue != null && xffValue == string.Empty)) | 241 | if (xffValue == null || (xffValue != null && xffValue == string.Empty)) |
242 | { | 242 | { |
243 | m_log.WarnFormat("[MAP IMAGE HANDLER]: No XFF header"); | 243 | // m_log.WarnFormat("[MAP IMAGE HANDLER]: No XFF header"); |
244 | return request.RemoteIPEndPoint.Address; | 244 | return request.RemoteIPEndPoint.Address; |
245 | } | 245 | } |
246 | 246 | ||