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
6ba69c9540
commit
07ff3f294d
@ -2290,7 +2290,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