update network detection
This commit is contained in:
parent
76e2482047
commit
4432b88281
|
@ -103,7 +103,9 @@ namespace Emby.Server.Implementations.Networking
|
|||
}
|
||||
|
||||
return endpoint.StartsWith("localhost", StringComparison.OrdinalIgnoreCase) ||
|
||||
endpoint.StartsWith("127.0.0.1", StringComparison.OrdinalIgnoreCase) ||
|
||||
endpoint.StartsWith("127.", StringComparison.OrdinalIgnoreCase) ||
|
||||
endpoint.StartsWith("192.168", StringComparison.OrdinalIgnoreCase) ||
|
||||
endpoint.StartsWith("169.", StringComparison.OrdinalIgnoreCase) ||
|
||||
IsInPrivateAddressSpaceAndLocalSubnet(endpoint);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user