]> gitweb.michael.orlitzky.com - mjo-overlay.git/commitdiff
Fix the query.c patch, I accidentally undid a chunk of the SOA patch.
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 9 Apr 2011 02:00:05 +0000 (22:00 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sat, 9 Apr 2011 02:00:05 +0000 (22:00 -0400)
net-dns/djbdns/files/query.c-mjo.patch

index d2e06a9794ab5d30c5392be30a86bda51fe3b28d..e05d48e8a3dabbc327eceffe6cc1fdc5df3d42e8 100644 (file)
@@ -39,7 +39,7 @@
 +      }
 +    }
 + 
-+     if (!typematch(DNS_T_ANY,dtype) && !typematch(DNS_T_AXFR,dtype) && !typematch(DNS_T_CNAME,dtype) && !typematch(DNS_T_NS,dtype) && !typematch(DNS_T_PTR,dtype) && !typematch(DNS_T_A,dtype) && !typematch(DNS_T_MX,dtype) && !typematch(DNS_T_AAAA,dtype)) {      
++     if (!typematch(DNS_T_ANY,dtype) && !typematch(DNS_T_AXFR,dtype) && !typematch(DNS_T_CNAME,dtype) && !typematch(DNS_T_NS,dtype) && !typematch(DNS_T_PTR,dtype) && !typematch(DNS_T_A,dtype) && !typematch(DNS_T_MX,dtype) && !typematch(DNS_T_AAAA,dtype) && !typematch(DNS_T_SOA,dtype)) {      
        byte_copy(key,2,dtype);
        cached = cache_get(key,dlen + 2,&cachedlen,&ttl);
        if (cached && (cachedlen || byte_diff(dtype,2,DNS_T_ANY))) {