From 0faceea651331c160757f307e31727e549b7066c Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 22 Jul 2010 15:11:19 -0700 Subject: [PATCH] Add additional progress messages to updown() --- Shorewall/Perl/Shorewall/Zones.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Shorewall/Perl/Shorewall/Zones.pm b/Shorewall/Perl/Shorewall/Zones.pm index f6d0dd0ab..6660cc1f9 100644 --- a/Shorewall/Perl/Shorewall/Zones.pm +++ b/Shorewall/Perl/Shorewall/Zones.pm @@ -1457,6 +1457,7 @@ sub compile_updown() { $interfaces =~ s/\+/*/; emit( "$interfaces)", + ' progress_message3 "$COMMAND on interface $1 ignored"', ' exit 0', ' ;;' ); @@ -1525,6 +1526,8 @@ sub compile_updown() { ' progress_message3 "$g_product attempting start"', ' detect_configuration', ' define_firewall', + ' else', + ' progress_message3 "$COMMAND on interface $1 ignored"', ' fi', ' ;;', ); @@ -1538,6 +1541,9 @@ sub compile_updown() { ' detect_configuration', ' define_firewall', ' ;;', + ' *)', + ' progress_message3 "$COMMAND on interface $1 ignored"', + ' ;;', ' esac', );