From 7c8473958965a5d89cbad64898a9bef37734b9d9 Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 17 Sep 2002 23:53:46 +0000 Subject: [PATCH] Add counter reset time to log displays git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@246 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/shorewall | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Shorewall/shorewall b/Shorewall/shorewall index 196b838cd..6ddfff7c6 100755 --- a/Shorewall/shorewall +++ b/Shorewall/shorewall @@ -312,6 +312,8 @@ monitor_firewall() # $1 = timeout -- if negative, prompt each time that echo -e "Dropped/Rejected Packet Log\\n" + show_reset + rejects=`iptables -L -v -n | grep 'LOG'` if [ "$rejects" != "$oldrejects" ]; then @@ -384,6 +386,8 @@ logwatch() # $1 = timeout -- if negative, prompt each time that echo -e "Dropped/Rejected Packet Log\\n" + show_reset + rejects=`iptables -L -v -n | grep 'LOG'` if [ "$rejects" != "$oldrejects" ]; then @@ -553,6 +557,7 @@ case "$1" in log) get_config echo -e "Shorewall-$version Log at $HOSTNAME - `date`\\n" + show_reset host=`echo $HOSTNAME | sed 's/\..*$//'` packet_log 20 ;;