From 6cfbec6b94a2d3ec226746f6444196014f9b7876 Mon Sep 17 00:00:00 2001 From: Jun-ichiro itojun Hagino Date: Tue, 9 Jul 2002 11:56:28 +0000 Subject: suppress log on reverse lookup failiure, as there's no real value in doing so. markus ok --- usr.bin/ssh/canohost.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.bin/ssh') diff --git a/usr.bin/ssh/canohost.c b/usr.bin/ssh/canohost.c index 81a47f2def8..80c00d8e2a5 100644 --- a/usr.bin/ssh/canohost.c +++ b/usr.bin/ssh/canohost.c @@ -12,7 +12,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" @@ -55,7 +55,9 @@ get_remote_hostname(int socket, int verify_reverse_mapping) 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); } -- cgit v1.2.3