mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01:00
Name macro file in 'End Macro' progress message
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6335 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
95f4d6a006
commit
e79944b2c6
@ -804,9 +804,7 @@ sub process_macro ( $$$$$$$$$$$$ ) {
|
||||
my $action = isolate_basic_target $mtarget;
|
||||
my $actiontype = $targets{$action} || find_macro( $action );
|
||||
|
||||
unless ( $actiontype & ACTION ) {
|
||||
fatal_error "Invalid Action ($mtarget) in macro" unless $actiontype & ( STANDARD + NATRULE + MACRO );
|
||||
}
|
||||
fatal_error "Invalid Action ($mtarget) in macro" unless $actiontype & ( ACTION + STANDARD + NATRULE + MACRO );
|
||||
|
||||
if ( $msource ) {
|
||||
if ( ( $msource eq '-' ) || ( $msource eq 'SOURCE' ) ) {
|
||||
@ -849,7 +847,7 @@ sub process_macro ( $$$$$$$$$$$$ ) {
|
||||
|
||||
pop_open;
|
||||
|
||||
progress_message '..End Macro'
|
||||
progress_message "..End Macro $macrofile"
|
||||
}
|
||||
|
||||
my $macro_nest_level = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user