diff --git a/Jellyfin.Networking/Manager/NetworkManager.cs b/Jellyfin.Networking/Manager/NetworkManager.cs
index 9cb49ce685..e4623cd62b 100644
--- a/Jellyfin.Networking/Manager/NetworkManager.cs
+++ b/Jellyfin.Networking/Manager/NetworkManager.cs
@@ -694,7 +694,7 @@ namespace Jellyfin.Networking.Manager
/// String to check.
/// Interface index numbers that match.
/// true if an interface name matches the token, False otherwise.
- private bool TryIsInterface(string token, [NotNullWhen(true)] out List? index)
+ private bool TryIsInterface(string token, [MaybeNullWhen(false)] out List index)
{
index = null;