summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2006-07-20 01:51:48 +0000
committerBob Halley <halley@dnspython.org>2006-07-20 01:51:48 +0000
commit5e3b3c80f9e614abcf6e77bbf339b0baefecb748 (patch)
tree76e5477a6aa6202802696ec0597f6aa8bf192391
parentc77a12960de59ef8e0f544dd339b3d15699d0168 (diff)
downloaddnspython-5e3b3c80f9e614abcf6e77bbf339b0baefecb748.tar.gz
deal with up-to-date
-rw-r--r--dns/query.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/dns/query.py b/dns/query.py
index fa79ad8..66bf946 100644
--- a/dns/query.py
+++ b/dns/query.py
@@ -327,6 +327,8 @@ def xfr(where, zone, rdtype=dns.rdatatype.AXFR, rdclass=dns.rdataclass.IN,
if rrset.rdtype != dns.rdatatype.SOA:
raise dns.exception.FormError
soa_rrset = rrset.copy()
+ if soa_rrset.serial == serial:
+ done = True
#
# Count the number of origin SOA RRs in this message
#