From: ian Date: Sun, 11 Apr 1999 18:17:49 +0000 (+0000) Subject: qf_cname_forbid _is_ implemented. X-Git-Tag: rel-adns-0-1~19 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=commitdiff_plain;h=2a6d6736b925281b796352434191bb07d96d1ef6 qf_cname_forbid _is_ implemented. --- 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);