diff --git a/Shorewall-perl/Shorewall/Accounting.pm b/Shorewall-perl/Shorewall/Accounting.pm index 193f0270b..5d9d9d603 100644 --- a/Shorewall-perl/Shorewall/Accounting.pm +++ b/Shorewall-perl/Shorewall/Accounting.pm @@ -52,6 +52,7 @@ sub process_accounting_rule( $$$$$$$$$ ) { sub jump_to_chain( $ ) { my $jumpchain = $_[0]; $jumpchainref = ensure_chain( 'filter', $jumpchain ); + mark_referenced $jumpchainref; "-j $jumpchain"; }