Skip to content

Commit 8d1504f

Browse files
committed
compatible to newer shadowsocks version
1 parent d9afd17 commit 8d1504f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chinadns/dnsrelay.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def _parse_hosts(self):
9292
parts = line.split()
9393
if len(parts) >= 2:
9494
ip = parts[0]
95-
if asyncdns.is_ip(ip):
95+
if asyncdns.common.is_ip(ip):
9696
for i in xrange(1, len(parts)):
9797
hostname = parts[i]
9898
if hostname:

0 commit comments

Comments
 (0)