On 03/20/2012 04:46 AM, Neal Thomsen wrote:
> Well now i got another error:
> 
> Compiling...
>    ERROR: Invalid modules file entry : /usr/share/shorewall/modules
> (line 19)

Patch attached.

        patch /usr/share/shorewall/Shorewall/Config.pm < MODULES.patch
> 
> Shorewall 4.5.2 Beta 2
> Centos 5.8
> 
> With AUTOMAKE=Yes I got 4.5.1.1 running
> 

You shouldn't need AUTOMAKE=Yes with 4.5.1.1

-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/Config.pm b/Shorewall/Perl/Shorewall/Config.pm
index acf6c5e..8d584eb 100644
--- a/Shorewall/Perl/Shorewall/Config.pm
+++ b/Shorewall/Perl/Shorewall/Config.pm
@@ -2522,7 +2522,7 @@ sub load_kernel_modules( ) {
 
 	my @suffixes = split /\s+/ , $config{MODULE_SUFFIX};
 
-	while ( read_a_line1 ) {
+	while ( read_a_line ) {
 	    fatal_error "Invalid modules file entry" unless ( $currentline =~ /^loadmodule\s+([a-zA-Z]\w*)\s*(.*)$/ );
 	    my ( $module, $arguments ) = ( $1, $2 );
 	    unless ( $loadedmodules{ $module } ) {

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to