mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-25 20:37:48 +08:00
fixed
This commit is contained in:
+1
-2
@@ -69,9 +69,8 @@ def check_cdn(data):
|
||||
if check_header_key(header):
|
||||
data[index]['cdn'] = 1
|
||||
continue
|
||||
kind = item.get('type')
|
||||
ip = item.get('ip')
|
||||
if kind == 'A' and ip:
|
||||
if ip:
|
||||
if check_cdn_cidr(ip):
|
||||
data[index]['cdn'] = 1
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user