forked from extern/shorewall_code
Correct load_kernel_modules()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
7bc823fb8b
commit
bdc8cb66bd
@ -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 } ) {
|
||||
|
Loading…
Reference in New Issue
Block a user