Fix active detection on linux

This commit is contained in:
Stone_Red
2024-01-03 00:00:24 +01:00
parent 7aace1f2de
commit a8eaa849f2
+1 -1
View File
@@ -55,7 +55,7 @@ internal static class Program
}
long localProcessedIpAddressesCount = Interlocked.Increment(ref processedIpAddressesCount);
if (mac is not null)
if (mac is not null && Array.Exists(mac.GetAddressBytes(), b => b != 0))
{
string formattedMac = BitConverter.ToString(mac.GetAddressBytes());