Fix tests

This commit is contained in:
Bond_009 2025-11-16 18:59:50 +01:00
parent 9e480f6efb
commit 1ba8e2c93c
5 changed files with 32 additions and 34 deletions

View file

@ -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))
{