File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Source/NETworkManager.Models/Network Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ public sealed class NetworkInterface
2626 #region Variables
2727
2828 /// <summary>
29- /// Blacklist of network interface name patterns to filter out virtual/filter adapters
29+ /// List of network interface name patterns to filter out virtual/filter adapters
3030 /// introduced in .NET 9/10. These are typically not actual network interfaces but rather
3131 /// drivers, filters, or extensions attached to real network interfaces.
3232 /// See: https://github.com/dotnet/runtime/issues/122751
3333 /// </summary>
34- private static readonly List < string > NetworkInterfacesBlacklist =
34+ private static readonly List < string > NetworkInterfaceFilteredPatterns =
3535 [
3636 "Hyper-V Virtual Switch Extension Filter" ,
3737 "WFP Native MAC Layer LightWeight Filter" ,
@@ -79,9 +79,9 @@ public static List<NetworkInterfaceInfo> GetNetworkInterfaces()
7979 continue ;
8080
8181 // Filter out virtual/filter adapters introduced in .NET 9/10
82- // Check if the adapter name contains any blacklisted pattern
82+ // Check if the adapter name contains any filtered pattern
8383 // See: https://github.com/dotnet/runtime/issues/122751
84- if ( NetworkInterfacesBlacklist . Any ( pattern => networkInterface . Name . Contains ( pattern ) ) )
84+ if ( NetworkInterfaceFilteredPatterns . Any ( pattern => networkInterface . Name . Contains ( pattern ) ) )
8585 continue ;
8686
8787 var listIPv4Address = new List < Tuple < IPAddress , IPAddress > > ( ) ;
You can’t perform that action at this time.
0 commit comments