mirror of
https://github.com/Stone-Red-Code/ARP-Scanner.git
synced 2026-09-04 08:56:04 +02:00
Merge pull request #3 from Stone-Red-Code/develop
Fix linux active detection issue
This commit is contained in:
@@ -40,7 +40,7 @@ enclosed in quotation marks, you should use an editor that supports UTF-8, not t
|
|||||||
<!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's
|
<!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's
|
||||||
possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version
|
possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version
|
||||||
number is final, that is considered a released version and not a prerelease. -->
|
number is final, that is considered a released version and not a prerelease. -->
|
||||||
<version>0.2.0.0</version>
|
<version>0.2.0.20240103</version>
|
||||||
<!-- <packageSourceUrl>Where is this Chocolatey package located (think GitHub)? packageSourceUrl
|
<!-- <packageSourceUrl>Where is this Chocolatey package located (think GitHub)? packageSourceUrl
|
||||||
is highly recommended for the community feed</packageSourceUrl>-->
|
is highly recommended for the community feed</packageSourceUrl>-->
|
||||||
<!-- owners is a poor name for maintainers of the package. It sticks around by this name for
|
<!-- owners is a poor name for maintainers of the package. It sticks around by this name for
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
name: arp-scanner # you probably want to 'snapcraft register <name>'
|
name: arp-scanner # you probably want to 'snapcraft register <name>'
|
||||||
version: "0.2.0.0" # just for humans, typically '1.2+git' or '1.3.2'
|
version: "0.2.0.20240103" # just for humans, typically '1.2+git' or '1.3.2'
|
||||||
grade: stable # must be 'stable' to release into candidate/stable channels
|
grade: stable # must be 'stable' to release into candidate/stable channels
|
||||||
summary: A lightweight cross-platform IP scanner # 79 char long summary
|
summary: A lightweight cross-platform IP scanner # 79 char long summary
|
||||||
description: |
|
description: |
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ internal static class Program
|
|||||||
}
|
}
|
||||||
|
|
||||||
long localProcessedIpAddressesCount = Interlocked.Increment(ref processedIpAddressesCount);
|
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());
|
string formattedMac = BitConverter.ToString(mac.GetAddressBytes());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user