summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>1999-12-29 16:52:07 +0000
committerRobert Watson <rwatson@FreeBSD.org>1999-12-29 16:52:07 +0000
commitca5f3f4d59dc27e8d13b1064449eed98c1b404f0 (patch)
tree3a7ee37e07d67f1301be10df1ab7fa77575d2217 /lib/libc
parentb045cfea0f39b93b7a696e75324d53e26abc40b4 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/gethostbydns.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/net/gethostbydns.c b/lib/libc/net/gethostbydns.c
index 32271db6bbd0..c5e26a9d32d0 100644
--- a/lib/libc/net/gethostbydns.c
+++ b/lib/libc/net/gethostbydns.c
@@ -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++ ? */
}