X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=net-dns%2Fdjbdns%2Ffiles%2Fquery.c-mjo.patch;h=f6b229dee2f22d787d3316c43d9197e980d72476;hb=70fcec1c29c7c0b0af336edbb6a3fe9ad5ad05cc;hp=a753a367b5b3e53f958210196e5b5c81e1a249f4;hpb=1dd4baeebded74541305e5d96560efdb5ad1122a;p=mjo-overlay.git diff --git a/net-dns/djbdns/files/query.c-mjo.patch b/net-dns/djbdns/files/query.c-mjo.patch index a753a36..f6b229d 100644 --- a/net-dns/djbdns/files/query.c-mjo.patch +++ b/net-dns/djbdns/files/query.c-mjo.patch @@ -36,8 +36,8 @@ + return 1; + } + } -+ -+ 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_SOA,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_SOA,dtype) && !typematch(DNS_T_AAAA,dtype)) { byte_copy(key,2,dtype); cached = cache_get(key,dlen + 2,&cachedlen,&ttl); if (cached && (cachedlen || byte_diff(dtype,2,DNS_T_ANY))) {