Tom Eastep wrote:
> Tom Eastep wrote:
>> Tom Eastep wrote:
>>> Mail List wrote:
>>>> I get this in the output.
>>>> <q>
>>>> Generating Rule Matrix...
>>>> Use of uninitialized value in concatenation (.) or string at
>>>> /usr/share/shorewall/Shorewall/Chains.pm line 649.
>>>> Use of uninitialized value in concatenation (.) or string at
>>>> /usr/share/shorewall/Shorewall/Chains.pm line 649.
>>>> Creating iptables-restore input...
>>>> </q>
>>>>    Everything seems to run as expected, I just want to see if there is 
>>>> something 
>>>> I have missed or if this is a problem.
>> Rather, please:
> 
>> a) shorewall show -f capabilities > /etc/shorewall/caps
>> b) tar -czf shorewall.tgz /etc/shorewall/
>> c) Send shorewall.tgz to [email protected]
> 
> This is a cosmetic problem. The attached patch corrects it:
> 
>       patch /usr/share/shorewall/Shorewall/Rules.pm < move.diff
> 
> -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 0022b9a..19455ce 100644
--- a/Shorewall/Perl/Shorewall/Rules.pm
+++ b/Shorewall/Perl/Shorewall/Rules.pm
@@ -1995,7 +1995,7 @@ sub generate_matrix() {
 			my $chain3ref;
 			my $match_source_dev = '';
 
-			if ( use_forward_chain $interface ) {
+			if ( use_forward_chain $interface || ! $chainref ) {
 			    $chain3ref = $filter_table->{forward_chain $interface};
 			    add_jump $filter_table->{FORWARD} , $chain3ref, 0 , match_source_dev( $interface ) unless $forward_jump_added{$interface}++;
 			} else {

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to