diff options
| author | Bob Halley <halley@dnspython.org> | 2007-06-14 02:00:40 +0000 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2007-06-14 02:00:40 +0000 |
| commit | c69db0af02ddd39d969b11b49110b9cb6d0ea727 (patch) | |
| tree | 2f70ce6fc8795e749c8483e52ff162ba6bd1713f | |
| parent | f26fb84cd3b158ffb48021a5be889fed2937d9a7 (diff) | |
| download | dnspython-c69db0af02ddd39d969b11b49110b9cb6d0ea727.tar.gz | |
only check port on multicast response
| -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 785e423..ed4eff3 100644 --- a/dns/query.py +++ b/dns/query.py @@ -119,7 +119,7 @@ def udp(q, where, timeout=None, port=53, af=None, source=None, source_port=0, (wire, from_address) = s.recvfrom(65535) if from_address == destination or \ (dns.inet.is_multicast(where) and \ - from_address[1:] == destination[1:]): + from_address[1] == destination[1]): break if not ignore_unexpected: raise UnexpectedSource, \ |
