2
0
Эх сурвалжийг харах

Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Bond-009 <bond.009@outlook.com>
BaronGreenback 4 жил өмнө
parent
commit
f67137004c

+ 1 - 1
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;