diff --git a/addons/deploy_to_steamos/SteamOSDevkitManager.cs b/addons/deploy_to_steamos/SteamOSDevkitManager.cs index 501f0ed..0431470 100644 --- a/addons/deploy_to_steamos/SteamOSDevkitManager.cs +++ b/addons/deploy_to_steamos/SteamOSDevkitManager.cs @@ -3,6 +3,7 @@ using System.Runtime.InteropServices; using System.IO; using System.Linq; +using System.Net.NetworkInformation; using System.Text.Json; using System.Threading; using System.Threading.Tasks; @@ -26,7 +27,11 @@ public class SteamOSDevkitManager /// A list of valid SteamOS devkit devices public static async Task> ScanDevices() { - var networkDevices = await ZeroconfResolver.ResolveAsync(SteamOSProtocol); + var ipv4Interfaces = NetworkInterface.GetAllNetworkInterfaces() + .Where(ni => ni.Supports(NetworkInterfaceComponent.IPv4)) + .ToArray(); + + var networkDevices = await ZeroconfResolver.ResolveAsync(SteamOSProtocol, netInterfacesToSendRequestOn: ipv4Interfaces); List devices = new(); // Iterate through all network devices and request further connection info from the service