File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Testout=Testout
33afrinic=delegated-afrinic-latest
44lacnic=delegated-lacnic-latest
55apnic=delegated-apnic-latest
6- arin=delegated-arin-latest
6+ arin=delegated-arin-extended- latest
77ripencc=delegated-ripencc-latest
88apnicDel=apnicDel
99ripeDel=ripeDel
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ rm -f ripe.db.inetnum.gz
1010rm -f apnic.db.inetnum.gz
1111wget ftp://ftp.afrinic.net/pub/stats/afrinic/delegated-afrinic-latest
1212wget ftp://ftp.lacnic.net/pub/stats/lacnic/delegated-lacnic-latest
13- wget ftp://ftp.arin.net/pub/stats/arin/delegated-arin-latest
13+ wget ftp://ftp.arin.net/pub/stats/arin/delegated-arin-extended- latest
1414wget ftp://ftp.apnic.net/pub/stats/apnic/delegated-apnic-latest
1515wget ftp://ftp.ripe.net/ripe/stats/delegated-ripencc-latest
1616wget ftp://ftp.ripe.net/ripe/dbase/split/ripe.db.inetnum.gz
@@ -22,4 +22,4 @@ get /apnic/whois-data/APNIC/split/apnic.db.inetnum.gz apnic.db.inetnum.gz
2222bye
2323END
2424gunzip ripe.db.inetnum
25- gunzip apnic.db.inetnum
25+ gunzip apnic.db.inetnum
Original file line number Diff line number Diff line change @@ -655,7 +655,8 @@ void delegParser( string delName, string delegOut ) {
655655
656656 if ( startWith (sStr ,delName) ) {
657657 sEntry = split ( sStr , ' |' );
658- if ( ( sEntry .size () == 7 ) &&
658+ if ( ( sEntry .size () >= 7 ) &&
659+ ( sEntry [1 ] != " ZZ" ) &&
659660 ( sEntry [2 ] == " ipv4" ) &&
660661 ( sEntry [1 ].length () == 2 )) {
661662 DBRangeEntries sRange ;
You can’t perform that action at this time.
0 commit comments