From 039a4fb22d52d840019ecdb39c62bcd7f76e3b84 Mon Sep 17 00:00:00 2001 From: BaronGreenback Date: Wed, 24 Feb 2021 11:40:50 +0000 Subject: [PATCH] renamed method --- Jellyfin.Networking/Manager/NetworkManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jellyfin.Networking/Manager/NetworkManager.cs b/Jellyfin.Networking/Manager/NetworkManager.cs index 3f209277f4..1d5eb1826e 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, [MaybeNullWhen(false)] out List index) + private bool TryGetInterfaces(string token, [NotNullWhen(true)] out List? index) { index = null; @@ -731,7 +731,7 @@ namespace Jellyfin.Networking.Manager { // Is it the name of an interface (windows) eg, Wireless LAN adapter Wireless Network Connection 1. // Null check required here for automated testing. - if (TryIsInterface(token, out var index)) + if (TryGetInterfaces(token, out var index)) { _logger.LogInformation("Interface {Token} used in settings. Using its interface addresses.", token);