Change the 'no isocodes' error message to include the address family.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-05-20 09:40:37 -07:00
parent 73e5bb0374
commit daaf3c031f

View File

@ -4698,7 +4698,7 @@ sub load_isocodes() {
my @codes = `ls $isodir/*$family 2>/dev/null`; 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; $isocodes{substr(basename($_),0,2)} = 1 for @codes;
} }