fix: Fixes TCPServer accept async, makes Firewall/IP Limiter multithreaded (#2134)

This commit is contained in:
Kamron Batman 2025-02-27 22:19:38 -08:00 • committed by GitHub
parent bcab91255a
commit 2a8c62e8be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 578 additions and 215 deletions

View file

@ -40,12 +40,12 @@ public interface IFirewallEntry : IComparable<IFirewallEntry>
return 1;
}
if (MaxIpAddress < other.MaxIpAddress)
if (MaxIpAddress > other.MaxIpAddress)
{
return -1;
}
if (MaxIpAddress > other.MaxIpAddress)
if (MaxIpAddress < other.MaxIpAddress)
{
return 1;
}