mirror of
https://github.com/ValdikSS/blockcheck.git
synced 2026-09-14 11:05:48 +05:00
nicinfo->ispinfo
This commit is contained in:
parent
bb990bacd5
commit
ac79197461
@ -805,8 +805,8 @@ def check_ipv6_availability():
|
||||
|
||||
def get_ispinfo(ipaddr):
|
||||
rdap_response = IPWhois(ipaddr)
|
||||
nicinfo = rdap_response.lookup_rdap(depth=1)
|
||||
return nicinfo['asn']
|
||||
ispinfo = rdap_response.lookup_rdap(depth=1)
|
||||
return ispinfo['asn']
|
||||
|
||||
def main():
|
||||
ipv6_addr = None
|
||||
|
||||
Loading…
Reference in New Issue
Block a user