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
This commit is contained in:
parent
1d82f9d188
commit
185bd48df4
@ -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),
|
||||
|
@ -294,7 +294,7 @@ gethostanswer(const querybuf *answer, int anslen, const char *qname, int qtype,
|
||||
continue;
|
||||
}
|
||||
if (type != qtype) {
|
||||
if (type != T_SIG)
|
||||
if (type != T_SIG && type != ns_t_dname)
|
||||
syslog(LOG_NOTICE|LOG_AUTH,
|
||||
"gethostby*.gethostanswer: asked for \"%s %s %s\", got type \"%s\"",
|
||||
qname, p_class(C_IN), p_type(qtype),
|
||||
|
Loading…
Reference in New Issue
Block a user