Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
BaronGreenback
2021-02-27 19:10:58 +00:00
committed by GitHub
parent d99d95422e
commit cc19d281e7

View File

@@ -738,7 +738,7 @@ namespace Jellyfin.Networking.Manager
// Replace all the interface tags with the interface IP's.
foreach (IPNetAddress iface in _interfaceAddresses)
{
if (index.Contains(Math.Abs(iface.Tag))
if (indices.Contains(Math.Abs(iface.Tag))
&& ((IsIP4Enabled && iface.Address.AddressFamily == AddressFamily.InterNetwork)
|| (IsIP6Enabled && iface.Address.AddressFamily == AddressFamily.InterNetworkV6)))
{