diff options
author | Adam Frisby | 2009-05-23 06:05:20 +0000 |
---|---|---|
committer | Adam Frisby | 2009-05-23 06:05:20 +0000 |
commit | 31baeef469d72a9dc13cf4f56392b9f740f71cba (patch) | |
tree | ac50806ced72c5b296645bf061a3d9176a41075c /OpenSim/Region/Communications/Hypergrid/HGGridServices.cs | |
parent | * Breaks OpenSim.. err I mean.. adds NAT translation support to EnableSimulat... (diff) | |
download | opensim-SC_OLD-31baeef469d72a9dc13cf4f56392b9f740f71cba.zip opensim-SC_OLD-31baeef469d72a9dc13cf4f56392b9f740f71cba.tar.gz opensim-SC_OLD-31baeef469d72a9dc13cf4f56392b9f740f71cba.tar.bz2 opensim-SC_OLD-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/Communications/Hypergrid/HGGridServices.cs')
-rw-r--r-- | OpenSim/Region/Communications/Hypergrid/HGGridServices.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Communications/Hypergrid/HGGridServices.cs b/OpenSim/Region/Communications/Hypergrid/HGGridServices.cs index 3c1be0b..7b116ca 100644 --- a/OpenSim/Region/Communications/Hypergrid/HGGridServices.cs +++ b/OpenSim/Region/Communications/Hypergrid/HGGridServices.cs | |||
@@ -523,7 +523,7 @@ namespace OpenSim.Region.Communications.Hypergrid | |||
523 | /// </summary> | 523 | /// </summary> |
524 | /// <param name="request"></param> | 524 | /// <param name="request"></param> |
525 | /// <returns></returns> | 525 | /// <returns></returns> |
526 | public XmlRpcResponse LinkRegionRequest(XmlRpcRequest request) | 526 | public XmlRpcResponse LinkRegionRequest(XmlRpcRequest request, IPEndPoint remoteClient) |
527 | { | 527 | { |
528 | Hashtable requestData = (Hashtable)request.Params[0]; | 528 | Hashtable requestData = (Hashtable)request.Params[0]; |
529 | //string host = (string)requestData["host"]; | 529 | //string host = (string)requestData["host"]; |
@@ -710,7 +710,7 @@ namespace OpenSim.Region.Communications.Hypergrid | |||
710 | /// </summary> | 710 | /// </summary> |
711 | /// <param name="request"></param> | 711 | /// <param name="request"></param> |
712 | /// <returns></returns> | 712 | /// <returns></returns> |
713 | public XmlRpcResponse ExpectHGUser(XmlRpcRequest request) | 713 | public XmlRpcResponse ExpectHGUser(XmlRpcRequest request, IPEndPoint remoteClient) |
714 | { | 714 | { |
715 | Hashtable requestData = (Hashtable)request.Params[0]; | 715 | Hashtable requestData = (Hashtable)request.Params[0]; |
716 | ForeignUserProfileData userData = new ForeignUserProfileData(); | 716 | ForeignUserProfileData userData = new ForeignUserProfileData(); |