On 2/17/11 9:40 AM, Steven Jan Springl wrote: > On Thursday 17 February 2011 04:14:42 Tom Eastep wrote: >> On 2/16/11 4:19 PM, Tom Eastep wrote: >>> I can't reproduce that with my tree. Please merge up the last three >>> commits at Sourceforge and see of the problem is resolved for you as >>> well. >> >> I've just uploaded Beta2 to make your job easier. >> >> -Tom
Thanks Steven Don't know what I did wrong. The problem was not the second DONE but rather the presence of DONE in the FORWARD section. The attached one-liner seems to correct it. -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________
diff --git a/Shorewall/Perl/Shorewall/Accounting.pm
b/Shorewall/Perl/Shorewall/Accounting.pm
index db41eb5..218d612 100644
--- a/Shorewall/Perl/Shorewall/Accounting.pm
+++ b/Shorewall/Perl/Shorewall/Accounting.pm
@@ -363,7 +363,7 @@ sub setup_accounting() {
}
if ( $filter_table->{accounting} ) {
- optimize_okay( 'accounting' ) if $section;
+ dont_optimize( 'accounting' ) unless $section;
if ( $asection ) {
add_jump( $filter_table->{FORWARD}, 'accounting', 0,
'', 0, 0 );
} else {
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
