From 1c212e878fbcf75efb3250ef84beaef3a8c691e2 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 24 Dec 2012 13:33:44 -0800 Subject: [PATCH] Restore SECTION handling in Accounting File Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Accounting.pm | 5 +++++ 1 file changed, 5 insertions(+) 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 = '';