mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-05 21:33:02 +02:00
Update Jellyfin.Networking/Manager/NetworkManager.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
f67137004c
commit
b5c6e5fb97
|
@ -713,11 +713,7 @@ namespace Jellyfin.Networking.Manager
|
||||||
if ((!partial && string.Equals(interfc, token, StringComparison.OrdinalIgnoreCase))
|
if ((!partial && string.Equals(interfc, token, StringComparison.OrdinalIgnoreCase))
|
||||||
|| (partial && interfc.StartsWith(token, true, CultureInfo.InvariantCulture)))
|
|| (partial && interfc.StartsWith(token, true, CultureInfo.InvariantCulture)))
|
||||||
{
|
{
|
||||||
if (index == null)
|
index ??= new List<int>();
|
||||||
{
|
|
||||||
index = new List<int>();
|
|
||||||
}
|
|
||||||
|
|
||||||
index.Add(interfcIndex);
|
index.Add(interfcIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue