forked from extern/shorewall_code
Fix a couple of minor problems in Accounting.pm
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8038 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
384e88df43
commit
e68ab78eda
@ -101,7 +101,9 @@ sub process_accounting_rule( $$$$$$$$$ ) {
|
||||
if ( $cmd eq 'COUNT' ) {
|
||||
$rule2=1;
|
||||
$target = jump_to_chain $action;
|
||||
} elsif ( $cmd ne 'JUMP' ) {
|
||||
} elsif ( $cmd eq 'JUMP' ) {
|
||||
$target = jump_to_chain $action;
|
||||
} else {
|
||||
accounting_error;
|
||||
}
|
||||
} else {
|
||||
@ -134,7 +136,7 @@ sub process_accounting_rule( $$$$$$$$$ ) {
|
||||
'' ,
|
||||
$target ,
|
||||
'' ,
|
||||
'' ,
|
||||
$disposition ,
|
||||
'' );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user