dnscnc/client/native: getaddrinfo for windows doesn't like IPPROTO_

This commit is contained in:
Oleksii Shevchuk 2019-03-10 19:40:35 +02:00
parent dd1128d95f
commit 5e93c40751
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ class DnsCommandsClient(Thread):
return [
addr[0] for af_family, _, _, _, addr in socket.getaddrinfo(
hostname, 80, family, socket.IPPROTO_TCP
hostname, 80, family
) if af_family == family
]