diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index ef410c109..5883d29e0 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -2905,13 +2905,9 @@ sub get_params() { fatal_error "Processing of $fn failed" if $?; - my $variable; - for ( @params ) { if ( /^export (.*?)='(.*)'$/ ) { - $params{$variable = $1} = $2 unless $1 eq '_'; - } elsif ( /^export (.*?)='/ ) { - warning_message "Exported symbol '$1' ignored"; + $params{$1} = $2 unless $1 eq '_'; } } }