Clear counters in all tables during 'reset'

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2017-11-30 14:31:59 -08:00
parent c907748b52
commit b04b65cac8
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -268,8 +268,10 @@ case "$COMMAND" in
error_message "$g_product is not running"
status=2
elif [ $# -eq 1 ]; then
$g_tool -Z
$g_tool -t mangle -Z
for table in raw mangle nat filter; do
qt $g_tool -t $table -Z
done
date > ${VARDIR}/restarted
status=0
progress_message3 "$g_product Counters Reset"