Correct handling of notrack file.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2015-08-14 09:26:45 -07:00
parent 8bdea65325
commit 7c2a969de0

View File

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