Simplify fix to accounting

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8040 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-01-10 21:07:07 +00:00
parent e68ab78eda
commit 8a22a4e05a

View File

@ -100,15 +100,12 @@ sub process_accounting_rule( $$$$$$$$$ ) {
if ( $cmd ) {
if ( $cmd eq 'COUNT' ) {
$rule2=1;
$target = jump_to_chain $action;
} elsif ( $cmd eq 'JUMP' ) {
$target = jump_to_chain $action;
} else {
} elsif ( $cmd ne 'JUMP' ) {
accounting_error;
}
} else {
$target = jump_to_chain $action;
}
}
$target = jump_to_chain $action;
}
}