Correct output noise in the output of 'shorewall6 show connections'

This commit is contained in:
Tom Eastep 2011-04-04 09:13:17 -07:00
parent db7ddcc492
commit 66dd89234f

View File

@ -478,7 +478,7 @@ show_command() {
case "$1" in
connections)
[ $# -gt 1 ] && usage 1
if mywhich conntrack ; then
if [ -n "$(mywhich conntrack)" ] ; then
echo "$g_product $SHOREWALL_VERSION Connections at $g_hostname - $(date)"
echo
conntrack -f ipv6 -L | show_connections_filter