On Tue, 2011-09-13 at 19:10 +0100, Steven Jan Springl wrote: > Tom > > The attached config. produces the following message: > > Use of uninitialized value $weight in concatenation (.) or string > at /usr/share/shorewall/Shorewall/Providers.pm line 644.
Steven, This message is harmless, but is corrected by the following 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/Providers.pm b/Shorewall/Perl/Shorewall/Providers.pm
index 63ae6bc..5186e1c 100644
--- a/Shorewall/Perl/Shorewall/Providers.pm
+++ b/Shorewall/Perl/Shorewall/Providers.pm
@@ -633,6 +633,8 @@ sub add_a_provider( $$ ) {
emit qq(add_gateway "nexthop dev $physical weight $weight $realm" ) . $tbl;
}
+ } else {
+ $weight = 1;
}
emit( "setup_${dev}_tc" ) if $tcdevices->{$interface};
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
