Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/lib/libc/net Pull up revision 1.28 (requested by assar):
details: https://anonhg.NetBSD.org/src/rev/1d62bdc508eb
branches: netbsd-1-4
changeset: 469980:1d62bdc508eb
user: he <he%NetBSD.org@localhost>
date: Sat Jan 08 17:50:49 2000 +0000
description:
Pull up revision 1.28 (requested by assar):
Reduce superfluous warnings on replies from DNSSEC-enabled name
servers. Fixes PR#8779.
diffstat:
lib/libc/net/gethnamaddr.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r bef0da5d9c27 -r 1d62bdc508eb lib/libc/net/gethnamaddr.c
--- a/lib/libc/net/gethnamaddr.c Sat Jan 08 16:42:47 2000 +0000
+++ b/lib/libc/net/gethnamaddr.c Sat Jan 08 17:50:49 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gethnamaddr.c,v 1.14 1999/01/20 23:31:02 lukem Exp $ */
+/* $NetBSD: gethnamaddr.c,v 1.14.2.1 2000/01/08 17:50:49 he 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.14 1999/01/20 23:31:02 lukem Exp $");
+__RCSID("$NetBSD: gethnamaddr.c,v 1.14.2.1 2000/01/08 17:50:49 he Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -344,10 +344,11 @@
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++ ? */
}
Home |
Main Index |
Thread Index |
Old Index