mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-03 03:59:16 +01:00
Use 'ip neigh ls' when 'arp' isn't installed.
- From Martin Gignac Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
ff634ac776
commit
df028e420c
@ -1503,7 +1503,12 @@ do_dump_command() {
|
|||||||
|
|
||||||
if [ $g_family -eq 4 ]; then
|
if [ $g_family -eq 4 ]; then
|
||||||
heading "ARP"
|
heading "ARP"
|
||||||
arp -na
|
if qt mywhich arp; then
|
||||||
|
arp -na
|
||||||
|
else
|
||||||
|
ip -4 neigh ls
|
||||||
|
ip -4 neigh ls proxy
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
heading "Neighbors"
|
heading "Neighbors"
|
||||||
ip -6 neigh ls
|
ip -6 neigh ls
|
||||||
|
Loading…
Reference in New Issue
Block a user