mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 18:14:42 +01:00
Properly handle IPs with subnetmasks
This commit is contained in:
@@ -348,7 +348,7 @@ namespace Jellyfin.Server.Extensions
|
||||
{
|
||||
AddIpAddress(config, options, addr, addr.AddressFamily == AddressFamily.InterNetwork ? 32 : 128);
|
||||
}
|
||||
else if (NetworkExtensions.TryParseSubnet(allowedProxies[i], out var subnet))
|
||||
else if (NetworkExtensions.TryParseToSubnet(allowedProxies[i], out var subnet))
|
||||
{
|
||||
if (subnet != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user