mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 09:47:51 +02:00
Correct defects in the prior commit
This commit is contained in:
parent
993bdc740d
commit
58e480b502
@ -1353,7 +1353,7 @@ sub ensure_accounting_chain( $$$ )
|
|||||||
$chainref->{ipsec} = $ipsec;
|
$chainref->{ipsec} = $ipsec;
|
||||||
$chainref->{dont_optimize} = 1 unless $config{OPTIMIZE_ACCOUNTING};
|
$chainref->{dont_optimize} = 1 unless $config{OPTIMIZE_ACCOUNTING};
|
||||||
|
|
||||||
if ( $chain ne 'accounting' ) {
|
unless ( $chain =~ '^account(?:in|ing|out)' ) {
|
||||||
my $file = find_file $chain;
|
my $file = find_file $chain;
|
||||||
|
|
||||||
if ( -f $file ) {
|
if ( -f $file ) {
|
||||||
|
@ -264,7 +264,7 @@ our %capdesc = ( NAT_ENABLED => 'NAT',
|
|||||||
KERNELVERSION => 'Kernel Version',
|
KERNELVERSION => 'Kernel Version',
|
||||||
);
|
);
|
||||||
|
|
||||||
our %config_files = ( accounting => 1,
|
our %config_files = ( #accounting => 1,
|
||||||
actions => 1,
|
actions => 1,
|
||||||
blacklist => 1,
|
blacklist => 1,
|
||||||
clear => 1,
|
clear => 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user