From bdc8cb66bdf680c35ffda087f7c9be59594a8ad8 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 20 Mar 2012 07:15:47 -0700 Subject: [PATCH] Correct load_kernel_modules() Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index acf6c5efd..8d584eba4 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 } ) {