aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Friends
diff options
context:
space:
mode:
authorAdam Frisby2009-05-23 06:05:20 +0000
committerAdam Frisby2009-05-23 06:05:20 +0000
commit31baeef469d72a9dc13cf4f56392b9f740f71cba (patch)
treeac50806ced72c5b296645bf061a3d9176a41075c /OpenSim/Region/CoreModules/Avatar/Friends
parent* Breaks OpenSim.. err I mean.. adds NAT translation support to EnableSimulat... (diff)
downloadopensim-SC-31baeef469d72a9dc13cf4f56392b9f740f71cba.zip
opensim-SC-31baeef469d72a9dc13cf4f56392b9f740f71cba.tar.gz
opensim-SC-31baeef469d72a9dc13cf4f56392b9f740f71cba.tar.bz2
opensim-SC-31baeef469d72a9dc13cf4f56392b9f740f71cba.tar.xz
* Pipes requestors IP address through all XmlRpcRequest delegates. This is needed to be able to 'NAT-wrap' the login sequence.
* If you have something using XmlRpc that isn't in core, change your method signature from: (XmlRpcRequest request) to: (XmlRpcRequest request, IPEndPoint remoteClient)
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Friends')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
index e46545c..4793734 100644
--- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
@@ -28,6 +28,7 @@
28using System; 28using System;
29using System.Collections; 29using System.Collections;
30using System.Collections.Generic; 30using System.Collections.Generic;
31using System.Net;
31using System.Reflection; 32using System.Reflection;
32using log4net; 33using log4net;
33using Nini.Config; 34using Nini.Config;
@@ -250,7 +251,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
250 /// </summary> 251 /// </summary>
251 /// <param name="req"></param> 252 /// <param name="req"></param>
252 /// <returns></returns> 253 /// <returns></returns>
253 public XmlRpcResponse processPresenceUpdateBulk(XmlRpcRequest req) 254 public XmlRpcResponse processPresenceUpdateBulk(XmlRpcRequest req, IPEndPoint remoteClient)
254 { 255 {
255 Hashtable requestData = (Hashtable)req.Params[0]; 256 Hashtable requestData = (Hashtable)req.Params[0];
256 257
@@ -319,7 +320,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
319 return response; 320 return response;
320 } 321 }
321 322
322 public XmlRpcResponse processTerminateFriend(XmlRpcRequest req) 323 public XmlRpcResponse processTerminateFriend(XmlRpcRequest req, IPEndPoint remoteClient)
323 { 324 {
324 Hashtable requestData = (Hashtable)req.Params[0]; 325 Hashtable requestData = (Hashtable)req.Params[0];
325 326