Add a heading to the 'Log' part of 'shorewall dump' output

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3857 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-05-04 14:51:29 +00:00
parent f0004152b7
commit 5ef3032fcc

View File

@ -1027,7 +1027,8 @@ dump_command() {
show_reset
host=$(echo $HOSTNAME | sed 's/\..*$//')
$IPTABLES -L $IPT_OPTIONS
echo
heading "Log ($LOGFILE)"
packet_log 20
heading "NAT Table"
@ -1035,7 +1036,8 @@ dump_command() {
heading "Mangle Table"
$IPTABLES -t mangle -L $IPT_OPTIONS
echo
heading "Conntrack Table"
cat /proc/net/ip_conntrack
heading "IP Configuration"
@ -1087,12 +1089,9 @@ dump_command() {
report_capabilities
if [ -n "$TC_ENABLED" ]; then
echo
echo "Traffic Control"
echo
heading "Traffic Control"
show_tc
echo "Traffic Filters"
echo
heading "TC Filters"
show_classifiers
fi
}