Michael Kliewe
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
utils/asn.pl
|
|
|
@ -210,7 +210,7 @@ if ($v4) { |
|
|
|
my $country = $as_info->{$asn}{'country'} || $unknown_placeholder; |
|
|
|
my $rir = $as_info->{$asn}{'rir'} || $unknown_placeholder; |
|
|
|
|
|
|
|
# "15169|8.8.8.0/24|US|arin|" for 8.8.8.8 |
|
|
|
# "8.8.8.0/24 15169|8.8.8.0/24|US|arin|" for 8.8.8.8 |
|
|
|
printf $v4_fh "%s %s|%s|%s|%s|\n", $net, $asn, $net, $country, $rir; |
|
|
|
} |
|
|
|
|
|
|
|
@ -328,4 +328,4 @@ B<asn.pl> is intended to download ASN data and GeoIP data and create a rbldnsd z |
|
|
|
|
|
|
|
=cut |
|
|
|
|
|
|
|
# vim: et:ts=4:sw=4 |
|
|
|
# vim: et:ts=4:sw=4 |