aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMarck2010-11-27 09:18:39 +0100
committerMarck2010-11-27 09:18:39 +0100
commit947d730b56d901478f81fa396fca9373f1415eae (patch)
treef335631dad9d54ea2dcfbfacd39568023d844c90
parentReformat an overzealous comment. Remove end of line marks and reference to the (diff)
downloadopensim-SC_OLD-947d730b56d901478f81fa396fca9373f1415eae.zip
opensim-SC_OLD-947d730b56d901478f81fa396fca9373f1415eae.tar.gz
opensim-SC_OLD-947d730b56d901478f81fa396fca9373f1415eae.tar.bz2
opensim-SC_OLD-947d730b56d901478f81fa396fca9373f1415eae.tar.xz
Make gatekeeper's address check case-insensitive.
-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