diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 83489e8..93f684c 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2725,7 +2725,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2725 | IUserAgentVerificationModule userVerification = RequestModuleInterface<IUserAgentVerificationModule>(); | 2725 | IUserAgentVerificationModule userVerification = RequestModuleInterface<IUserAgentVerificationModule>(); |
2726 | if (userVerification != null && ep != null) | 2726 | if (userVerification != null && ep != null) |
2727 | { | 2727 | { |
2728 | if (!userVerification.VerifyClient(aCircuit, ep.Address.ToString())) | 2728 | System.Net.IPAddress addr = NetworkUtil.GetExternalIPOf(ep.Address); |
2729 | |||
2730 | if (!userVerification.VerifyClient(aCircuit, /*ep.Address.ToString() */ addr.ToString())) | ||
2729 | { | 2731 | { |
2730 | // uh-oh, this is fishy | 2732 | // uh-oh, this is fishy |
2731 | m_log.DebugFormat("[Scene]: User Client Verification for {0} {1} in {2} returned false", aCircuit.firstname, aCircuit.lastname, RegionInfo.RegionName); | 2733 | m_log.DebugFormat("[Scene]: User Client Verification for {0} {1} in {2} returned false", aCircuit.firstname, aCircuit.lastname, RegionInfo.RegionName); |