mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #3760 from thornbill/true-or-false
Fix inverted logic for LAN IP detection (cherry picked from commit 4bad529fcb761b983025fd0a636077b4287e463a) Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
0eb0b15b2a
commit
f88e9b2678
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user