Merge pull request #30 from messede-degod/master

cat /proc/net/arp when arp bin is not available
This commit is contained in:
rootTHC
2024-08-08 11:54:20 +01:00
committed by GitHub
+1 -1
View File
@@ -396,7 +396,7 @@ else
netstat -in 2>/dev/null
}
echo -e "${CB}>>>>> ARP table${CN}"
command -v arp >/dev/null && arp -an 2>/dev/null | COL
{ command -v arp >/dev/null && arp -an 2>/dev/null || cat /proc/net/arp; } | COL
fi
command -v netstat >/dev/null && {