Merge pull request #3760 from thornbill/true-or-false

Fix inverted logic for LAN IP detection
This commit is contained in:
Anthony Lavado 2020-07-31 08:26:19 -07:00 committed by GitHub
commit 4bad529fcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,7 +165,7 @@ namespace Emby.Server.Implementations.Networking
(octet[0] == 127) || // RFC1122
(octet[0] == 169 && octet[1] == 254)) // RFC3927
{
return false;
return true;
}
if (checkSubnets && IsInPrivateAddressSpaceAndLocalSubnet(endpoint))