diff options
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index da2b860..c00ac9b 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |||
@@ -295,7 +295,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
295 | { | 295 | { |
296 | foreach(string ip in m_certIPs) | 296 | foreach(string ip in m_certIPs) |
297 | { | 297 | { |
298 | if (String.Compare(hostname, ip, true, CultureInfo.InvariantCulture) != 0) | 298 | if (String.Compare(hostname, ip, true, CultureInfo.InvariantCulture) == 0) |
299 | return true; | 299 | return true; |
300 | } | 300 | } |
301 | } | 301 | } |