aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2021-02-23 20:34:32 +0000
committerGitHub <noreply@github.com>2021-02-23 20:34:32 +0000
commitf67137004c16fc8bf2478e9898e786599469c465 (patch)
tree5ecdfea1ec1bc4e1950756a3f81a16112aaa8e41
parentff7cae8a13ce4bd5f158da840907a46ef2ad7d86 (diff)
Update Jellyfin.Networking/Manager/NetworkManager.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
-rw-r--r--Jellyfin.Networking/Manager/NetworkManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Networking/Manager/NetworkManager.cs b/Jellyfin.Networking/Manager/NetworkManager.cs
index 9cb49ce68..e4623cd62 100644
--- a/Jellyfin.Networking/Manager/NetworkManager.cs
+++ b/Jellyfin.Networking/Manager/NetworkManager.cs
@@ -694,7 +694,7 @@ namespace Jellyfin.Networking.Manager
/// <param name="token">String to check.</param>
/// <param name="index">Interface index numbers that match.</param>
/// <returns><c>true</c> if an interface name matches the token, <c>False</c> otherwise.</returns>
- private bool TryIsInterface(string token, [NotNullWhen(true)] out List<int>? index)
+ private bool TryIsInterface(string token, [MaybeNullWhen(false)] out List<int> index)
{
index = null;