File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Source/NETworkManager.Models/Network Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,11 @@ public static List<NetworkInterfaceInfo> GetNetworkInterfaces()
8181 continue ;
8282
8383 // Filter out virtual/filter adapters introduced in .NET 9/10
84- // Check if the adapter name contains any filtered pattern
84+ // Check if the adapter name or description contains any filtered pattern
8585 // See: https://github.com/dotnet/runtime/issues/122751
86- if ( NetworkInterfaceFilteredPatterns . Any ( pattern => networkInterface . Name . Contains ( pattern ) ) )
86+ if ( NetworkInterfaceFilteredPatterns . Any ( pattern =>
87+ networkInterface . Name . Contains ( pattern ) ||
88+ networkInterface . Description . Contains ( pattern ) ) )
8789 continue ;
8890
8991 var listIPv4Address = new List < Tuple < IPAddress , IPAddress > > ( ) ;
You can’t perform that action at this time.
0 commit comments