X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/73dba56e1981d7fe721acf17d0cd91a4fed04850..32af6b2a02aa7e71b367b71a048bd2459e368c25:/src/reply.c diff --git a/src/reply.c b/src/reply.c index 452c5f6..c1ad342 100644 --- a/src/reply.c +++ b/src/reply.c @@ -156,7 +156,7 @@ void adns__procdgram(adns_state ads, const byte *dgram, int dglen, } continue; } - if (rrtype == adns_r_cname && /* fixme - implement adns_qf_nocname */ + if (rrtype == adns_r_cname && (qu->typei->type & adns__rrt_typemask) != adns_r_cname) { if (qu->flags & adns_qf_cname_forbid) { adns__query_fail(qu,adns_s_prohibitedcname);