update: cat /proc/net/arp when arp bin is not available

This commit is contained in:
Messede
2024-08-02 16:40:04 +00:00
parent 11d1c2ce59
commit 8c58d3e412

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 && {