]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
be consistent about expire time
authorMark Andrews <marka@isc.org>
Wed, 2 Jul 2014 04:12:46 +0000 (14:12 +1000)
committerMark Andrews <marka@isc.org>
Wed, 2 Jul 2014 04:12:46 +0000 (14:12 +1000)
lib/dns/nta.c

index 71b4967aae2b87188c8fbf3ce81f7843ac214c42..447a4ce97b9bcffd7589ce0bf4ffac3cd25193c4 100644 (file)
@@ -444,7 +444,7 @@ dns_ntatable_covered(dns_ntatable_t *ntatable, isc_stdtime_t now,
        }
        if (result == ISC_R_SUCCESS) {
                nta = (dns_nta_t *) node->data;
-               answer = ISC_TF(nta->expiry > now);
+               answer = ISC_TF(nta->expiry >= now);
        }
 
        /* Deal with expired NTA */