Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/dist/ssh don't warn even if reverse lookup fails. sy...
details: https://anonhg.NetBSD.org/src/rev/65f430b127a6
branches: trunk
changeset: 533774:65f430b127a6
user: itojun <itojun%NetBSD.org@localhost>
date: Tue Jul 09 12:03:54 2002 +0000
description:
don't warn even if reverse lookup fails. sync w/openbsd
diffstat:
crypto/dist/ssh/canohost.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 898ac36d6b89 -r 65f430b127a6 crypto/dist/ssh/canohost.c
--- a/crypto/dist/ssh/canohost.c Tue Jul 09 11:16:53 2002 +0000
+++ b/crypto/dist/ssh/canohost.c Tue Jul 09 12:03:54 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: canohost.c,v 1.12 2002/06/24 05:48:28 itojun Exp $ */
+/* $NetBSD: canohost.c,v 1.13 2002/07/09 12:03:54 itojun Exp $ */
/*
* Author: Tatu Ylonen <ylo%cs.hut.fi@localhost>
* Copyright (c) 1995 Tatu Ylonen <ylo%cs.hut.fi@localhost>, Espoo, Finland
@@ -13,7 +13,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: canohost.c,v 1.32 2002/06/11 08:11:45 itojun Exp $");
+RCSID("$OpenBSD: canohost.c,v 1.33 2002/07/09 11:56:27 itojun Exp $");
#include "packet.h"
#include "xmalloc.h"
@@ -56,7 +56,9 @@
if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name),
NULL, 0, NI_NAMEREQD) != 0) {
/* Host name not found. Use ip address. */
+#if 0
log("Could not reverse map address %.100s.", ntop);
+#endif
return xstrdup(ntop);
}
Home |
Main Index |
Thread Index |
Old Index