Skip to content

The Free Software Media System - Server Backend & API

Update Jellyfin.Networking/Manager/NetworkManager.cs

BaronGreenbackcc19d281e736
diff --git a/Jellyfin.Networking/Manager/NetworkManager.cs b/Jellyfin.Networking/Manager/NetworkManager.cs
index 05796d6a38..51fcb6d9a0 100644
--- a/Jellyfin.Networking/Manager/NetworkManager.cs
+++ b/Jellyfin.Networking/Manager/NetworkManager.cs
@@ -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)))
{