On 11/29/2012 03:31 PM, Steven Jan Springl wrote:
The patch doesn't apply, I get:
Hunk #1 FAILED at 7491.
Sorry - the file changed since Beta 3 -- here is a patch against Beta 3.
Thanks Steven,
-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 \________________________________________________
--- shorewall/build/4.5.10/shorewall-4.5.10-Beta3/Perl/Shorewall/Chains.pm 2012-11-28 15:03:53.000000000 -0800
+++ Chains.pm 2012-11-29 16:01:49.310308010 -0800
@@ -7486,7 +7486,8 @@
emit( ' if [ $COMMAND = start ]; then' );
push_indent;
while ( my ( $switch, $setting ) = each %switches ) {
- emit " echo $setting->{setting} > /proc/net/nf_condition/$switch";
+ my $file = "/proc/net/nf_condition/$switch";
+ emit " [ -f $file ] && echo $setting->{setting} > $file";
}
pop_indent;
emit " fi\n";
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel