diff options
| author | Bill Thornton <billt2006@gmail.com> | 2020-07-30 17:18:44 -0400 |
|---|---|---|
| committer | Bill Thornton <billt2006@gmail.com> | 2020-07-30 17:18:44 -0400 |
| commit | d8869419279695aa8adad6fb83ee03aecc7b3012 (patch) | |
| tree | 4f4675a7320ee8e7cc6b47cff02b65b00ab326a5 /Emby.Server.Implementations/Networking/NetworkManager.cs | |
| parent | ee3fae497c14493b8678f126c30580757044d7be (diff) | |
Fix inverted logic for LAN IP detection
Diffstat (limited to 'Emby.Server.Implementations/Networking/NetworkManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Networking/NetworkManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Networking/NetworkManager.cs b/Emby.Server.Implementations/Networking/NetworkManager.cs index ff95302ee..089ec30e6 100644 --- a/Emby.Server.Implementations/Networking/NetworkManager.cs +++ b/Emby.Server.Implementations/Networking/NetworkManager.cs @@ -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)) |
