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/OGS1 | |
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/OGS1')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index 684d42b..ed88a6e 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |||
@@ -616,7 +616,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
616 | /// </summary> | 616 | /// </summary> |
617 | /// <param name="request"></param> | 617 | /// <param name="request"></param> |
618 | /// <returns></returns> | 618 | /// <returns></returns> |
619 | public XmlRpcResponse PingCheckReply(XmlRpcRequest request) | 619 | public XmlRpcResponse PingCheckReply(XmlRpcRequest request, IPEndPoint remoteClient) |
620 | { | 620 | { |
621 | XmlRpcResponse response = new XmlRpcResponse(); | 621 | XmlRpcResponse response = new XmlRpcResponse(); |
622 | 622 | ||
@@ -838,7 +838,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
838 | /// </summary> | 838 | /// </summary> |
839 | /// <param name="request"></param> | 839 | /// <param name="request"></param> |
840 | /// <returns></returns> | 840 | /// <returns></returns> |
841 | public XmlRpcResponse LandData(XmlRpcRequest request) | 841 | public XmlRpcResponse LandData(XmlRpcRequest request, IPEndPoint remoteClient) |
842 | { | 842 | { |
843 | Hashtable requestData = (Hashtable)request.Params[0]; | 843 | Hashtable requestData = (Hashtable)request.Params[0]; |
844 | ulong regionHandle = Convert.ToUInt64(requestData["region_handle"]); | 844 | ulong regionHandle = Convert.ToUInt64(requestData["region_handle"]); |