From: Bob Halley Date: Thu, 20 Jul 2006 01:51:48 +0000 (+0000) Subject: deal with up-to-date X-Git-Tag: v1.5.0~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e3b3c80f9e614abcf6e77bbf339b0baefecb748;p=thirdparty%2Fdnspython.git deal with up-to-date --- diff --git a/dns/query.py b/dns/query.py index fa79ad8e..66bf946f 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 #