diff options
author | Marck | 2010-11-27 09:18:39 +0100 |
---|---|---|
committer | Melanie | 2010-11-28 23:35:38 +0000 |
commit | 4d104cf6fe92720ac42677ee3b394c11a9d12d4e (patch) | |
tree | 938104e0cc647414509e3d43ff517a8d0d22d15e /OpenSim/Services | |
parent | Implement health monitoring of the packet receiving and sending threads (diff) | |
download | opensim-SC_OLD-4d104cf6fe92720ac42677ee3b394c11a9d12d4e.zip opensim-SC_OLD-4d104cf6fe92720ac42677ee3b394c11a9d12d4e.tar.gz opensim-SC_OLD-4d104cf6fe92720ac42677ee3b394c11a9d12d4e.tar.bz2 opensim-SC_OLD-4d104cf6fe92720ac42677ee3b394c11a9d12d4e.tar.xz |
Make gatekeeper's address check case-insensitive.
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/HypergridService/GatekeeperService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs index 3f5c4f1..0aa5352 100644 --- a/OpenSim/Services/HypergridService/GatekeeperService.cs +++ b/OpenSim/Services/HypergridService/GatekeeperService.cs | |||
@@ -333,7 +333,8 @@ namespace OpenSim.Services.HypergridService | |||
333 | 333 | ||
334 | string addressee = parts[0]; | 334 | string addressee = parts[0]; |
335 | m_log.DebugFormat("[GATEKEEPER SERVICE]: Verifying {0} against {1}", addressee, m_ExternalName); | 335 | m_log.DebugFormat("[GATEKEEPER SERVICE]: Verifying {0} against {1}", addressee, m_ExternalName); |
336 | return (addressee == m_ExternalName); | 336 | |
337 | return string.Equals(addressee, m_ExternalName, StringComparison.OrdinalIgnoreCase); | ||
337 | } | 338 | } |
338 | 339 | ||
339 | #endregion | 340 | #endregion |