mirror of
https://github.com/Stone-Red-Code/ARP-Scanner.git
synced 2026-09-04 00:46:04 +02:00
Fix active detection on linux
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user