mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-18 04:11:22 +01:00
Change the 'no isocodes' error message to include the address family.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
73e5bb0374
commit
daaf3c031f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user