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 5cc6894425
commit acb72e7213

View File

@ -1606,7 +1606,12 @@ usage() # $1 = exit status
echo " iprange <address>-<address>"
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 " logdrop <address> ..."
echo " logreject <address> ..."