mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-25 15:09:12 +01:00
Use netstat if ss isn't installed
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
355d3e2dec
commit
dab780368f
@ -1624,7 +1624,7 @@ do_dump_command() {
|
|||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
||||||
ss -${g_family}tunap
|
qt mywhich ss && ss -${g_family}tunap || { qt mywhich netstat && netatat -tunap; }
|
||||||
|
|
||||||
if [ -n "$TC_ENABLED" ]; then
|
if [ -n "$TC_ENABLED" ]; then
|
||||||
heading "Traffic Control"
|
heading "Traffic Control"
|
||||||
|
Loading…
Reference in New Issue
Block a user