diff options
author | Bob Halley <halley@dnspython.org> | 2020-06-13 11:40:54 -0700 |
---|---|---|
committer | Bob Halley <halley@dnspython.org> | 2020-06-13 11:40:54 -0700 |
commit | 92b5b2d4a660a509aba0b818cf1889eb6d76c09e (patch) | |
tree | 19fa9ad78c521a2e41237a54637cc40c01006690 /dns/asyncquery.py | |
parent | dfff63e1d4cefc8af15abe37e9b8cce39951ac72 (diff) | |
download | dnspython-async.tar.gz |
Change parameter order of low_level_address_tuple; add test coverage.async
Diffstat (limited to 'dns/asyncquery.py')
-rw-r--r-- | dns/asyncquery.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/asyncquery.py b/dns/asyncquery.py index 38141fe..709c246 100644 --- a/dns/asyncquery.py +++ b/dns/asyncquery.py @@ -199,7 +199,7 @@ async def udp(q, where, timeout=None, port=53, source=None, source_port=0, af = dns.inet.af_for_address(where) stuple = _source_tuple(af, source, source_port) s = await backend.make_socket(af, socket.SOCK_DGRAM, 0, stuple) - destination = _lltuple(af, (where, port)) + destination = _lltuple((where, port), af) await send_udp(s, wire, destination, expiration) (r, received_time) = await receive_udp(s, destination, expiration, ignore_unexpected, |