Set current file name and sequence number after INCLUDE

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5767 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-03-31 00:10:25 +00:00
parent 946aca4938
commit b3d2f566d5

View File

@ -397,7 +397,8 @@ sub read_a_line {
$currentfile = undef; $currentfile = undef;
open $currentfile, $filename or fatal_error "Unable to open $filename: $!"; open $currentfile, $filename or fatal_error "Unable to open $filename: $!";
$currentfilename = $filename;
$currentlinenumber = 0;
$line=''; $line='';
} else { } else {
return 1; return 1;