mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 09:47:51 +02:00
Tighen up an RE
This commit is contained in:
parent
58e480b502
commit
2e2472a15a
@ -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};
|
||||||
|
|
||||||
unless ( $chain =~ '^account(?:in|ing|out)' ) {
|
unless ( $chain =~ '^account(?:in|ing|out)$' ) {
|
||||||
my $file = find_file $chain;
|
my $file = find_file $chain;
|
||||||
|
|
||||||
if ( -f $file ) {
|
if ( -f $file ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user