forked from extern/shorewall_code
Create $globals{LOGILIMIT}
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
18e7e43b2f
commit
42a649d093
@ -5187,6 +5187,13 @@ sub get_configuration( $$$$ ) {
|
|||||||
$globals{LOGLIMIT} = '';
|
$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' );
|
check_trivalue ( 'IP_FORWARDING', 'on' );
|
||||||
|
|
||||||
if ( have_capability( 'KERNELVERSION' ) < 20631 ) {
|
if ( have_capability( 'KERNELVERSION' ) < 20631 ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user