diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index c3460773d..97fb7db9d 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -1663,7 +1663,7 @@ sub process_conditional( $$$ ) { fatal_error "Invalid IF variable ($rest)" unless ($rest =~ s/^\$// || $rest =~ /^__/ ) && $rest =~ /^\w+$/; - push @ifstack, [ 'IF', $lastomit, $omitting, $linenumber ]; + push @ifstack, [ 'IF', $omitting, $omitting, $linenumber ]; if ( $rest eq '__IPV6' ) { $omitting = $family == F_IPV4;