Create $globals{LOGILIMIT}

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-07-02 09:00:36 -07:00
parent 18e7e43b2f
commit 42a649d093

View File

@ -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 ) {