]> git.ipfire.org Git - thirdparty/dnspython.git/commit
When checking for "same address", use the binary form of the address.
authorBob Halley <halley@nominum.com>
Thu, 18 Jun 2009 13:10:28 +0000 (14:10 +0100)
committerBob Halley <halley@nominum.com>
Thu, 18 Jun 2009 13:10:28 +0000 (14:10 +0100)
commitf7a29a67ac18a27bfa74bc9caeb6bd886fc3173c
tree726d3528b5d4510e6d7c0cd45cc40c2fad1441bc
parent791c9cb7df40cd1aabbc5bb89d79f504bca09175
When checking for "same address", use the binary form of the address.

By doing that, we don't get confused if the textual forms for the addresses
are equivalent but different (which can happen with IPv6 addresses).

Thanks to Kim Davies for finding this bug.
dns/query.py