From b3d2f566d5cd96a2d0fa13fb7745341db292672b Mon Sep 17 00:00:00 2001 From: teastep Date: Sat, 31 Mar 2007 00:10:25 +0000 Subject: [PATCH] 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 --- New/Shorewall/Config.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/New/Shorewall/Config.pm b/New/Shorewall/Config.pm index c8f92cd04..ad6b1d8a1 100644 --- a/New/Shorewall/Config.pm +++ b/New/Shorewall/Config.pm @@ -397,7 +397,8 @@ sub read_a_line { $currentfile = undef; open $currentfile, $filename or fatal_error "Unable to open $filename: $!"; - + $currentfilename = $filename; + $currentlinenumber = 0; $line=''; } else { return 1;