aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Extensions
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2025-11-16 18:59:50 +0100
committerBond_009 <bond.009@outlook.com>2026-01-14 18:55:47 +0100
commit1ba8e2c93c2906682050c95957649c20e1b557d9 (patch)
tree583c7a1f5dcea5b01aee6e7b27be50f962bebc8c /Jellyfin.Server/Extensions
parent9e480f6efb4bc0e1f0d1323ed7ed5a7208fded99 (diff)
Fix tests
Diffstat (limited to 'Jellyfin.Server/Extensions')
-rw-r--r--Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
index c7bcda442c..9df24fa0d7 100644
--- a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
+++ b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
@@ -290,7 +290,7 @@ namespace Jellyfin.Server.Extensions
}
else if (NetworkUtils.TryParseToSubnet(allowedProxies[i], out var subnet))
{
- AddIPAddress(config, options, subnet.BaseAddress, subnet.PrefixLength);
+ AddIPAddress(config, options, subnet.Address, subnet.Subnet.PrefixLength);
}
else if (NetworkUtils.TryParseHost(allowedProxies[i], out var addresses, config.EnableIPv4, config.EnableIPv6))
{