瀏覽代碼

Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Bond-009 <bond.009@outlook.com>
BaronGreenback 4 年之前
父節點
當前提交
f67137004c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Jellyfin.Networking/Manager/NetworkManager.cs

+ 1 - 1
Jellyfin.Networking/Manager/NetworkManager.cs

@@ -694,7 +694,7 @@ namespace Jellyfin.Networking.Manager
         /// <param name="token">String to check.</param>
         /// <param name="token">String to check.</param>
         /// <param name="index">Interface index numbers that match.</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>
         /// <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;
             index = null;