mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-25 00:56:14 +08:00
typo
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ class IPAsnInfo(object):
|
|||||||
def find(self, ip):
|
def find(self, ip):
|
||||||
asn = self.asn.find(ip)
|
asn = self.asn.find(ip)
|
||||||
if asn:
|
if asn:
|
||||||
result = {"cidr": asn[2], "asn": f'ASN{asn[3]} {asn[4]}'}
|
result = {"cidr": asn[2], "asn": f'AS{asn[3]} {asn[4]}'}
|
||||||
return result
|
return result
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|||||||
Reference in New Issue
Block a user