mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-22 05:28:59 +01:00
Correct handling of notrack file.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
8bdea65325
commit
7c2a969de0
@ -278,9 +278,8 @@ sub process_format( $ ) {
|
||||
sub setup_conntrack($) {
|
||||
my $convert = shift;
|
||||
my $fn;
|
||||
my @files = $convert ? ( qw/notrack conntrack/ ) : ( 'conntrack' );
|
||||
|
||||
for my $name ( @files ) {
|
||||
for my $name ( qw/notrack conntrack/ ) {
|
||||
|
||||
$fn = open_file( $name, 3 , 1 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user