From daaf3c031f2d5f4f9dca0c930fffaffb3e225561 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 20 May 2012 09:40:37 -0700 Subject: [PATCH] Change the 'no isocodes' error message to include the address family. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Chains.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index fa69edfb8..e003a85e1 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -4698,7 +4698,7 @@ sub load_isocodes() { my @codes = `ls $isodir/*$family 2>/dev/null`; - fatal_error "$isodir does not exist or is empty" unless @codes; + fatal_error "$isodir contains no IPv${family} entries" unless @codes; $isocodes{substr(basename($_),0,2)} = 1 for @codes; }