forked from extern/shorewall_code
Fix INCLUDE inside an ?IF ... ?ENDIF
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
25125c47e4
commit
0b5e30aa7b
@ -2265,7 +2265,7 @@ sub read_a_line(;$$$$) {
|
||||
}
|
||||
}
|
||||
|
||||
if ( @ifstack ) {
|
||||
if ( @ifstack > $ifstack ) {
|
||||
$currentlinenumber = 'EOF';
|
||||
fatal_error "Missing ?ENDIF to match the ?IF at line $ifstack[-1]->[3]";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user