diff options
author | ume <ume@FreeBSD.org> | 2009-02-08 16:58:05 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2009-02-08 16:58:05 +0000 |
commit | 185bd48df413b2f290b4b5ccd6fb5af7310ec8a3 (patch) | |
tree | 193e42a4f98dce7a031da3d0bee1e3595e961832 /lib/libc/net/getaddrinfo.c | |
parent | 1d82f9d188f6faaceb287719291ae2eaf33221a6 (diff) | |
download | FreeBSD-src-185bd48df413b2f290b4b5ccd6fb5af7310ec8a3.zip FreeBSD-src-185bd48df413b2f290b4b5ccd6fb5af7310ec8a3.tar.gz |
Shutup warning for DNAME RR.
PR: bin/127591
Submitted by: "Eugene M. Kim" <20080111.freebsd.org__at__ab.ote.we.lv>
MFC after: 1 week
Diffstat (limited to 'lib/libc/net/getaddrinfo.c')
-rw-r--r-- | lib/libc/net/getaddrinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/net/getaddrinfo.c b/lib/libc/net/getaddrinfo.c index ad35e87..941c315 100644 --- a/lib/libc/net/getaddrinfo.c +++ b/lib/libc/net/getaddrinfo.c @@ -1863,7 +1863,8 @@ getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, } } else if (type != qtype) { #ifdef DEBUG - if (type != T_KEY && type != T_SIG) + if (type != T_KEY && type != T_SIG && + type != ns_t_dname) syslog(LOG_NOTICE|LOG_AUTH, "gethostby*.getanswer: asked for \"%s %s %s\", got type \"%s\"", qname, p_class(C_IN), p_type(qtype), |