On 6/20/2014 1:27 PM, Tom Eastep wrote: > On 6/20/2014 12:41 PM, Tom Eastep wrote: > >>> >>> I would still prefer to use the Events system, how can I use get around >>> this error? >> >> Please recreate this failure but use 'shorewall check -T', and forward >> the complete error output. >> > > Nevermind -- I've recreated the problem. >
Please see if the attached patch corrects the problem: patch /usr/share/shorewall/Shorewall/Rules.pm < .../IfEvent.patch Thanks! -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/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index b228293..f7ecc41 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -2950,7 +2950,7 @@ sub perl_action_helper($$;$) { $matches .= ' ' unless $matches =~ /^(?:.+\s)?$/; - set_inline_matches $matches if $target =~ /^INLINE(?::.*)?$/; + set_inline_matches( $target =~ /^INLINE(?::.*)?$/ ? $matches : '' ); if ( $isstatematch ) { if ( $statematch ) {
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems
_______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users