From a8eaa849f2a9ffc8a60677c8ab308c1f140f63f7 Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Wed, 3 Jan 2024 00:00:24 +0100 Subject: [PATCH 1/2] Fix active detection on linux --- src/ARP-Scanner/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ARP-Scanner/Program.cs b/src/ARP-Scanner/Program.cs index b304b3d..27f724b 100644 --- a/src/ARP-Scanner/Program.cs +++ b/src/ARP-Scanner/Program.cs @@ -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()); From 9da39c3731a8313974080fee83f14b0aea5629a5 Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Wed, 3 Jan 2024 00:06:15 +0100 Subject: [PATCH 2/2] Update package version --- choco/arp-scanner.nuspec | 2 +- snap/snapcraft.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/choco/arp-scanner.nuspec b/choco/arp-scanner.nuspec index 3f92a82..d65f4ec 100644 --- a/choco/arp-scanner.nuspec +++ b/choco/arp-scanner.nuspec @@ -40,7 +40,7 @@ enclosed in quotation marks, you should use an editor that supports UTF-8, not t - 0.2.0.0 + 0.2.0.20240103