aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/HypergridService/GatekeeperService.cs
diff options
context:
space:
mode:
authorMarck2010-11-27 09:18:39 +0100
committerMelanie2010-11-28 23:35:38 +0000
commit4d104cf6fe92720ac42677ee3b394c11a9d12d4e (patch)
tree938104e0cc647414509e3d43ff517a8d0d22d15e /OpenSim/Services/HypergridService/GatekeeperService.cs
parentImplement health monitoring of the packet receiving and sending threads (diff)
downloadopensim-SC-4d104cf6fe92720ac42677ee3b394c11a9d12d4e.zip
opensim-SC-4d104cf6fe92720ac42677ee3b394c11a9d12d4e.tar.gz
opensim-SC-4d104cf6fe92720ac42677ee3b394c11a9d12d4e.tar.bz2
opensim-SC-4d104cf6fe92720ac42677ee3b394c11a9d12d4e.tar.xz
Make gatekeeper's address check case-insensitive.
Diffstat (limited to 'OpenSim/Services/HypergridService/GatekeeperService.cs')
-rw-r--r--OpenSim/Services/HypergridService/GatekeeperService.cs3
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