diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index 7c956fb7b..2e85f89b7 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -5187,6 +5187,13 @@ sub get_configuration( $$$$ ) { $globals{LOGLIMIT} = ''; } + if ( $globals{LOGLIMIT} ) { + my $loglimit = $globals{LOGLIMIT}; + $loglimit =~ s/ $//; + my @loglimit = ( split ' ', $loglimit, 3 )[1,2]; + $globals{LOGILIMIT} = \@loglimit; + } + check_trivalue ( 'IP_FORWARDING', 'on' ); if ( have_capability( 'KERNELVERSION' ) < 20631 ) {