aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2022-07-20 09:50:16 +0200
committerShadowghost <Ghost_of_Stone@web.de>2022-07-20 09:50:16 +0200
commit748907b9208aa91adc2dcf08672ea8eda7ed7c9c (patch)
tree58eca90dd29b544050a054fac40ecc0f8e697bfc /Jellyfin.Server
parent34d8e531e02c995836546e702e8dc4b02f2206e7 (diff)
Remove workaround, this only applies to the IPs set by the middleware
Diffstat (limited to 'Jellyfin.Server')
-rw-r--r--Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
index 5f9f50e31..507395106 100644
--- a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
+++ b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
@@ -372,14 +372,6 @@ namespace Jellyfin.Server.Extensions
return;
}
- // In order for dual-mode sockets to be used, IP6 has to be enabled in JF and an interface has to have an IP6 address.
- if (addr.AddressFamily == AddressFamily.InterNetwork && config.EnableIPV6)
- {
- // If the server is using dual-mode sockets, IPv4 addresses are supplied in an IPv6 format.
- // https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/proxy-load-balancer?view=aspnetcore-5.0 .
- addr = addr.MapToIPv6();
- }
-
if (prefixLength == 32)
{
options.KnownProxies.Add(addr);