Include the rawpost table in dump output

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2011-11-04 13:02:30 -07:00
parent a842fad629
commit e236be37db
2 changed files with 10 additions and 0 deletions

View File

@ -992,6 +992,11 @@ do_dump_command() {
$IPTABLES -t raw -L $g_ipt_options
fi
if qt $IPTABLES -t rawpost -L -n; then
heading "Rawpost Table"
$IPTABLES -t rawpost -L $g_ipt_options
fi
local count=$(cat /proc/sys/net/netfilter/nf_conntrack_count)
local max=$(cat /proc/sys/net/netfilter/nf_conntrack_max)

View File

@ -927,6 +927,11 @@ do_dump_command() {
$IP6TABLES -t raw -L $g_ipt_options
fi
if qt $IP6TABLES -t rawpost -L -n; then
heading "Rawpost Table"
$IP6TABLES -t rawpost -L $g_ipt_options
fi
local count=$(cat /proc/sys/net/netfilter/nf_conntrack_count)
local max=$(cat /proc/sys/net/netfilter/nf_conntrack_max)