diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index 0b5abdf7a..d2cc0a01f 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -2193,7 +2193,7 @@ sub read_a_line(;$$$) { # # Handle conditionals # - if ( $currentline =~ /^\s*\?/ ) { + if ( $currentline =~ /^\s*\?(?:IF|ELSE|ENDIF)/ ) { $omitting = process_conditional( $omitting, $currentline, $currentlinenumber ); $currentline=''; next;