diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/net/gethnamaddr.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/net/gethnamaddr.c b/lib/libc/net/gethnamaddr.c index d3b24020c66..73d4b56009e 100644 --- a/lib/libc/net/gethnamaddr.c +++ b/lib/libc/net/gethnamaddr.c @@ -1,4 +1,4 @@ -/* $NetBSD: gethnamaddr.c,v 1.27 1999/10/24 12:36:02 lukem Exp $ */ +/* $NetBSD: gethnamaddr.c,v 1.28 1999/12/28 15:47:41 assar Exp $ */ /* * ++Copyright++ 1985, 1988, 1993 @@ -61,7 +61,7 @@ static char sccsid[] = "@(#)gethostnamadr.c 8.1 (Berkeley) 6/4/93"; static char rcsid[] = "Id: gethnamaddr.c,v 8.21 1997/06/01 20:34:37 vixie Exp "; #else -__RCSID("$NetBSD: gethnamaddr.c,v 1.27 1999/10/24 12:36:02 lukem Exp $"); +__RCSID("$NetBSD: gethnamaddr.c,v 1.28 1999/12/28 15:47:41 assar Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -356,10 +356,11 @@ getanswer(answer, anslen, qname, qtype) continue; } if (type != qtype) { - syslog(LOG_NOTICE|LOG_AUTH, + if (type != T_KEY && type != T_SIG) + syslog(LOG_NOTICE|LOG_AUTH, "gethostby*.getanswer: 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++ ? */ } |
