Merge pull request #4 from Stone-Red-Code/develop

Develop
This commit is contained in:
Stone_Red
2024-01-03 11:58:46 +01:00
committed by GitHub
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -42,4 +42,4 @@ apps:
arp-scanner: arp-scanner:
command: ARP-Scanner command: ARP-Scanner
plugs: plugs:
- network-control - network-observe
+2 -1
View File
@@ -49,8 +49,9 @@ internal static class Program
{ {
mac = await Arp.LookupAsync(ipAddress); mac = await Arp.LookupAsync(ipAddress);
} }
catch catch (Exception ex)
{ {
ConsoleExt.WriteLine($"Failed to lookup MAC address for {ipAddress}: {ex.Message}", ConsoleColor.Red);
fail = true; fail = true;
} }