diff --git a/Zeroconf/NetworkInterface.cs b/Zeroconf/NetworkInterface.cs index a0697a0..8dcdc97 100644 --- a/Zeroconf/NetworkInterface.cs +++ b/Zeroconf/NetworkInterface.cs @@ -28,7 +28,8 @@ public async Task NetworkRequestAsync(byte[] requestBytes, // populate list with all adapters if none specified if(netInterfacesToSendRequestOn == null || !netInterfacesToSendRequestOn.Any()) { - netInterfacesToSendRequestOn = System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces(); + netInterfacesToSendRequestOn = System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces() + .Where(inter => inter.Supports(NetworkInterfaceComponent.IPv4)); } var tasks = netInterfacesToSendRequestOn