Download newest delegated list, and allow the ripedb_ilines_update to take a hardcoded list of ASNs (and prepopulate w/ 3303 and 12859)
git-svn-id: svn+ssh://svn.ipng.nl/usr/share/subversion/repositories/ircnet.ipng.ch@47 c5d60b8d-fdcb-4146-b734-af4215e9eb71
This commit is contained in:
@ -43,7 +43,7 @@ def asn_to_route(_asn, _whois_server = "whois.ripe.net",
|
||||
except:
|
||||
return list
|
||||
ifile = s.makefile('w')
|
||||
ifile.write('-i origin AS'+_asn+'\r\n')
|
||||
ifile.write(('-i origin AS%s\r\n' % (_asn)))
|
||||
ifile.flush()
|
||||
print("Fetching route/route6 for AS%s from %s" % (_asn, _whois_server))
|
||||
while True:
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user