forked from extern/shorewall_code
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:
parent
e68ab78eda
commit
8a22a4e05a
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user