Give address-family specific help text for 'iptrace'.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-02-15 06:58:26 -08:00
parent 7e2265dd23
commit 9eba41669e

View File

@ -1613,7 +1613,12 @@ usage() # $1 = exit status
echo " iprange <address>-<address>" echo " iprange <address>-<address>"
fi fi
echo " iptrace <iptables match expression>" if [ $g_family -eq 4 ]; then
echo " iptrace <iptables match expression>"
else
echo " iptrace <ip6tables match expression>"
fi
echo " load [ -s ] [ -c ] [ -r <root user> ] [ -T ] [ <directory> ] <system>" echo " load [ -s ] [ -c ] [ -r <root user> ] [ -T ] [ <directory> ] <system>"
echo " logdrop <address> ..." echo " logdrop <address> ..."
echo " logreject <address> ..." echo " logreject <address> ..."