mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 01:05:19 +03:00
Apply review suggestions and fix build
This commit is contained in:
@@ -372,6 +372,11 @@ namespace Jellyfin.Server.Extensions
|
||||
return;
|
||||
}
|
||||
|
||||
if (addr.IsIPv4MappedToIPv6)
|
||||
{
|
||||
addr = addr.MapToIPv4();
|
||||
}
|
||||
|
||||
if (prefixLength == 32)
|
||||
{
|
||||
options.KnownProxies.Add(addr);
|
||||
|
||||
Reference in New Issue
Block a user