mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 17:28:35 +02:00
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' ) {
|
if ( $cmd eq 'COUNT' ) {
|
||||||
$rule2=1;
|
$rule2=1;
|
||||||
$target = jump_to_chain $action;
|
$target = jump_to_chain $action;
|
||||||
} elsif ( $cmd ne 'JUMP' ) {
|
} elsif ( $cmd eq 'JUMP' ) {
|
||||||
|
$target = jump_to_chain $action;
|
||||||
|
} else {
|
||||||
accounting_error;
|
accounting_error;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -134,7 +136,7 @@ sub process_accounting_rule( $$$$$$$$$ ) {
|
|||||||
'' ,
|
'' ,
|
||||||
$target ,
|
$target ,
|
||||||
'' ,
|
'' ,
|
||||||
'' ,
|
$disposition ,
|
||||||
'' );
|
'' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user