mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
Ignore Ipv6 link-local addresses
This commit is contained in:
parent
a8014b3942
commit
5c9d041423
@ -95,9 +95,8 @@ namespace Emby.Server.Implementations.Networking
|
||||
|
||||
private static bool FilterIpAddress(IPAddress address)
|
||||
{
|
||||
var addressString = address.ToString();
|
||||
|
||||
if (addressString.StartsWith("169.", StringComparison.OrdinalIgnoreCase))
|
||||
if (address.IsIPv6LinkLocal
|
||||
|| address.ToString().StartsWith("169.", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user