diff options
author | Bob Halley <halley@nominum.com> | 2009-06-19 11:56:25 +0100 |
---|---|---|
committer | Bob Halley <halley@nominum.com> | 2009-06-19 11:56:25 +0100 |
commit | 066101a9d9e27d01c23850fff4720906322aa9ab (patch) | |
tree | b663891ba96b385359f35f07090a8e09a2f9cdd7 | |
parent | 9d71be6b66e69f274813e8adbb23c6e5c2a2444c (diff) | |
download | dnspython-066101a9d9e27d01c23850fff4720906322aa9ab.tar.gz |
_addresses_equal() needs the af
-rw-r--r-- | dns/query.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/query.py b/dns/query.py index 81a78b4..15b5a90 100644 --- a/dns/query.py +++ b/dns/query.py @@ -135,7 +135,7 @@ def udp(q, where, timeout=None, port=53, af=None, source=None, source_port=0, while 1: _wait_for_readable(s, expiration) (wire, from_address) = s.recvfrom(65535) - if _addresses_equal(from_address, destination) or \ + if _addresses_equal(af, from_address, destination) or \ (dns.inet.is_multicast(where) and \ from_address[1:] == destination[1:]): break |