Skip to content

Commit

Permalink
! ARIN db changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Cougar committed Jul 17, 2005
1 parent a686dc8 commit a36b770
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions makeaslist.pl
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@

sub make_arin() {

open (F1, "wget -q -O - ftp://ftp.arin.net/netinfo/asn.txt |");
open (F1, "wget -q -O - ftp://ftp.arin.net/info/asn.txt |");
open (F2, "> as-arin.txt");

print F2 <<EOT;
#
# This file is generated automatically from
# ftp://ftp.arin.net/netinfo/asn.txt
# ftp://ftp.arin.net/info/asn.txt
#
# Do not edit this file
#
Expand All @@ -27,7 +27,7 @@ ()
next if (/ ASNBLK-RIPE /);
next if (/ ASNBLK-RIPE-NCC /);
next if (/ ASN-BLKRIPE\d+ /);
if (/^ ([\d\-]+)\s+(\S+)\s/) {
if (/^ ([\d\-]+)\s+(\S+)\s/) {
my $autnum = $1;
my $descr = $2;
if ($autnum =~ /^(\d+)-(\d+)$/) {
Expand Down

0 comments on commit a36b770

Please sign in to comment.