mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
Fix tests
This commit is contained in:
parent
9e480f6efb
commit
1ba8e2c93c
5 changed files with 32 additions and 34 deletions
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue