mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-28 16:39:29 +01:00
Fix accounting problem with jumping to otherwise unreferenced chain
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6247 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
7a7488e3e0
commit
b68e830852
@ -52,6 +52,7 @@ sub process_accounting_rule( $$$$$$$$$ ) {
|
|||||||
sub jump_to_chain( $ ) {
|
sub jump_to_chain( $ ) {
|
||||||
my $jumpchain = $_[0];
|
my $jumpchain = $_[0];
|
||||||
$jumpchainref = ensure_chain( 'filter', $jumpchain );
|
$jumpchainref = ensure_chain( 'filter', $jumpchain );
|
||||||
|
mark_referenced $jumpchainref;
|
||||||
"-j $jumpchain";
|
"-j $jumpchain";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user