mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 19:22:47 +00:00
Suppress vast quantities of unneeded warnings spewed by libc's gethostbydns
on encountering a real-world SIG record during a lookup of another type. PR: bin/7352 Reviewed by: peter, eivind
This commit is contained in:
parent
495865e47d
commit
7ea38f3479
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55174
@ -310,10 +310,11 @@ gethostanswer(answer, anslen, qname, qtype)
|
||||
continue;
|
||||
}
|
||||
if (type != qtype) {
|
||||
syslog(LOG_NOTICE|LOG_AUTH,
|
||||
if (type != T_SIG)
|
||||
syslog(LOG_NOTICE|LOG_AUTH,
|
||||
"gethostby*.gethostanswer: asked for \"%s %s %s\", got type \"%s\"",
|
||||
qname, p_class(C_IN), p_type(qtype),
|
||||
p_type(type));
|
||||
qname, p_class(C_IN), p_type(qtype),
|
||||
p_type(type));
|
||||
cp += n;
|
||||
continue; /* XXX - had_error++ ? */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user