From: Michael Orlitzky Date: Sat, 9 Apr 2011 02:00:05 +0000 (-0400) Subject: Fix the query.c patch, I accidentally undid a chunk of the SOA patch. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=bd1d05d6cdd00cd4afe4c95740c136fb392f9457;p=mjo-overlay.git Fix the query.c patch, I accidentally undid a chunk of the SOA patch. --- diff --git a/net-dns/djbdns/files/query.c-mjo.patch b/net-dns/djbdns/files/query.c-mjo.patch index d2e06a9..e05d48e 100644 --- a/net-dns/djbdns/files/query.c-mjo.patch +++ b/net-dns/djbdns/files/query.c-mjo.patch @@ -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))) {