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/Grid/MessagingServer.Modules/MessageRegionModule.cs | |
parent | * Breaks OpenSim.. err I mean.. adds NAT translation support to EnableSimulat... (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Grid/MessagingServer.Modules/MessageRegionModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Grid/MessagingServer.Modules/MessageRegionModule.cs b/OpenSim/Grid/MessagingServer.Modules/MessageRegionModule.cs index f7ef759..f158591 100644 --- a/OpenSim/Grid/MessagingServer.Modules/MessageRegionModule.cs +++ b/OpenSim/Grid/MessagingServer.Modules/MessageRegionModule.cs | |||
@@ -181,7 +181,7 @@ namespace OpenSim.Grid.MessagingServer.Modules | |||
181 | return regionProfile; | 181 | return regionProfile; |
182 | } | 182 | } |
183 | 183 | ||
184 | public XmlRpcResponse RegionStartup(XmlRpcRequest request) | 184 | public XmlRpcResponse RegionStartup(XmlRpcRequest request, IPEndPoint remoteClient) |
185 | { | 185 | { |
186 | Hashtable requestData = (Hashtable)request.Params[0]; | 186 | Hashtable requestData = (Hashtable)request.Params[0]; |
187 | Hashtable result = new Hashtable(); | 187 | Hashtable result = new Hashtable(); |
@@ -195,7 +195,7 @@ namespace OpenSim.Grid.MessagingServer.Modules | |||
195 | return response; | 195 | return response; |
196 | } | 196 | } |
197 | 197 | ||
198 | public XmlRpcResponse RegionShutdown(XmlRpcRequest request) | 198 | public XmlRpcResponse RegionShutdown(XmlRpcRequest request, IPEndPoint remoteClient) |
199 | { | 199 | { |
200 | Hashtable requestData = (Hashtable)request.Params[0]; | 200 | Hashtable requestData = (Hashtable)request.Params[0]; |
201 | Hashtable result = new Hashtable(); | 201 | Hashtable result = new Hashtable(); |