mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -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)
|
private static bool FilterIpAddress(IPAddress address)
|
||||||
{
|
{
|
||||||
var addressString = address.ToString();
|
if (address.IsIPv6LinkLocal
|
||||||
|
|| address.ToString().StartsWith("169.", StringComparison.OrdinalIgnoreCase))
|
||||||
if (addressString.StartsWith("169.", StringComparison.OrdinalIgnoreCase))
|
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user