Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Bond-009 <bond.009@outlook.com>
pull/5274/head
BaronGreenback 3 years ago committed by GitHub
parent f67137004c
commit b5c6e5fb97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -713,11 +713,7 @@ namespace Jellyfin.Networking.Manager
if ((!partial && string.Equals(interfc, token, StringComparison.OrdinalIgnoreCase))
|| (partial && interfc.StartsWith(token, true, CultureInfo.InvariantCulture)))
{
if (index == null)
{
index = new List<int>();
}
index ??= new List<int>();
index.Add(interfcIndex);
}
}

Loading…
Cancel
Save