From b76ee408a52925f4f37e3ccdf5c5f154a351d8df Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 17 Sep 2010 12:35:34 -0700 Subject: [PATCH] Emit clearer error messages --- Shorewall/Perl/Shorewall/Rules.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index 3f2d445e7..52f15278a 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -282,7 +282,7 @@ sub setup_blacklist() { $target , '' ); } else { - warning_message 'Blacklist entry ignored because there are no "blacklist in" zones'; + warning_message '"src" entry ignored because there are no "blacklist in" zones'; } } } elsif ( $_ =~ /^(?:dst|to)$/ ) { @@ -302,7 +302,7 @@ sub setup_blacklist() { $target , '' ); } else { - warning_message 'Blacklist entry ignored because there are no "blacklist out" zones'; + warning_message '"dst" entry ignored because there are no "blacklist out" zones'; } } } else {