mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix inverted logic for LAN IP detection
This commit is contained in:
parent
ee3fae497c
commit
d886941927
@ -165,7 +165,7 @@ namespace Emby.Server.Implementations.Networking
|
|||||||
(octet[0] == 127) || // RFC1122
|
(octet[0] == 127) || // RFC1122
|
||||||
(octet[0] == 169 && octet[1] == 254)) // RFC3927
|
(octet[0] == 169 && octet[1] == 254)) // RFC3927
|
||||||
{
|
{
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (checkSubnets && IsInPrivateAddressSpaceAndLocalSubnet(endpoint))
|
if (checkSubnets && IsInPrivateAddressSpaceAndLocalSubnet(endpoint))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user