aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Map
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Server/Handlers/Map')
-rw-r--r--OpenSim/Server/Handlers/Map/MapAddServerConnector.cs6
-rw-r--r--OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs6
2 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Server/Handlers/Map/MapAddServerConnector.cs b/OpenSim/Server/Handlers/Map/MapAddServerConnector.cs
index bfd73a2..331dabf 100644
--- a/OpenSim/Server/Handlers/Map/MapAddServerConnector.cs
+++ b/OpenSim/Server/Handlers/Map/MapAddServerConnector.cs
@@ -225,8 +225,8 @@ namespace OpenSim.Server.Handlers.MapImage
225 225
226 private System.Net.IPAddress GetCallerIP(IOSHttpRequest request) 226 private System.Net.IPAddress GetCallerIP(IOSHttpRequest request)
227 { 227 {
228 if (!m_Proxy) 228// if (!m_Proxy)
229 return request.RemoteIPEndPoint.Address; 229// return request.RemoteIPEndPoint.Address;
230 230
231 // We're behind a proxy 231 // We're behind a proxy
232 string xff = "X-Forwarded-For"; 232 string xff = "X-Forwarded-For";
@@ -236,7 +236,7 @@ namespace OpenSim.Server.Handlers.MapImage
236 236
237 if (xffValue == null || (xffValue != null && xffValue == string.Empty)) 237 if (xffValue == null || (xffValue != null && xffValue == string.Empty))
238 { 238 {
239 m_log.WarnFormat("[MAP IMAGE HANDLER]: No XFF header"); 239// m_log.WarnFormat("[MAP IMAGE HANDLER]: No XFF header");
240 return request.RemoteIPEndPoint.Address; 240 return request.RemoteIPEndPoint.Address;
241 } 241 }
242 242
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