diff --git a/Shorewall/Perl/Shorewall/Accounting.pm b/Shorewall/Perl/Shorewall/Accounting.pm index bcb42d612..7ffeb05c0 100644 --- a/Shorewall/Perl/Shorewall/Accounting.pm +++ b/Shorewall/Perl/Shorewall/Accounting.pm @@ -152,6 +152,11 @@ sub process_accounting_rule( ) { fatal_error 'ACTION must be specified' if $action eq '-'; + if ( $action eq 'SECTION' ) { + process_section( $chain ); + return 0; + } + $asection = LEGACY if $asection < 0; our $disposition = '';