mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
fix wrong cert ip compare
This commit is contained in:
@@ -295,7 +295,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
{
|
||||
foreach(string ip in m_certIPs)
|
||||
{
|
||||
if (String.Compare(hostname, ip, true, CultureInfo.InvariantCulture) != 0)
|
||||
if (String.Compare(hostname, ip, true, CultureInfo.InvariantCulture) == 0)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user