浏览代码

Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
BaronGreenback 4 年之前
父节点
当前提交
cc19d281e7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Jellyfin.Networking/Manager/NetworkManager.cs

+ 1 - 1
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)))
                     {