From bd6b32eb25dfa30e7b725750e4a8614edfc61a3e Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 7 Apr 2016 10:30:54 -0700 Subject: [PATCH] Add a progress message for REJECT_ACTION processing Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Rules.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index caddd51ed..5fc20b230 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -2201,6 +2201,8 @@ sub process_reject_action() { if ( ( $targets{$action} || 0 ) == ACTION ) { add_ijump $rejectref, j => use_policy_action( $action, $rejectref->{name} ); } else { + progress_message2 "$doing $actions{$action}->{file} for chain reject..."; + process_inline( $action, #Inline $rejectref, #Chain '', #Matches @@ -2390,7 +2392,7 @@ sub process_inline ($$$$$$$$$$$$$$$$$$$$$$) { setup_audit_action( $inline ) if $options & AUDIT_OPT; - progress_message "..Expanding inline action $inlinefile..."; + progress_message "..Expanding inline action $inlinefile..." unless $inline eq $config{REJECT_ACTION}; push_open $inlinefile, 2, 1, undef , 2;