From 9947f4d9683e46da00a842c2c12738b6d5ac6369 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 10 Sep 2014 12:53:08 -0700 Subject: [PATCH] Re-enable SECTION PREROUTING in the accounting file. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Accounting.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Accounting.pm b/Shorewall/Perl/Shorewall/Accounting.pm index 69c62574d..add7313af 100644 --- a/Shorewall/Perl/Shorewall/Accounting.pm +++ b/Shorewall/Perl/Shorewall/Accounting.pm @@ -155,8 +155,6 @@ sub process_accounting_rule1( $$$$$$$$$$$ ) { my ($action, $chain, $source, $dest, $proto, $ports, $sports, $user, $mark, $ipsec, $headers ) = @_; - $acctable = $config{ACCOUNTING_TABLE}; - $jumpchainref = 0; $asection = LEGACY if $asection < 0; @@ -453,6 +451,8 @@ sub setup_accounting() { set_section_function( &process_section ); + $acctable = $config{ACCOUNTING_TABLE}; + first_entry "$doing $fn..."; my $nonEmpty = 0;