mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-22 12:41:19 +01:00
Correct output noise in the output of 'shorewall6 show connections'
This commit is contained in:
parent
db7ddcc492
commit
66dd89234f
@ -478,7 +478,7 @@ show_command() {
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
connections)
|
connections)
|
||||||
[ $# -gt 1 ] && usage 1
|
[ $# -gt 1 ] && usage 1
|
||||||
if mywhich conntrack ; then
|
if [ -n "$(mywhich conntrack)" ] ; then
|
||||||
echo "$g_product $SHOREWALL_VERSION Connections at $g_hostname - $(date)"
|
echo "$g_product $SHOREWALL_VERSION Connections at $g_hostname - $(date)"
|
||||||
echo
|
echo
|
||||||
conntrack -f ipv6 -L | show_connections_filter
|
conntrack -f ipv6 -L | show_connections_filter
|
||||||
|
Loading…
Reference in New Issue
Block a user