summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/canohost.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-07-09 11:56:28 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-07-09 11:56:28 +0000
commit6cfbec6b94a2d3ec226746f6444196014f9b7876 (patch)
treecd7bc07ba9be15ed3fdd1d134f54e03b40cb6683 /usr.bin/ssh/canohost.c
parentd374f808543f568f89fcfc344fe227199aa7e0d1 (diff)
suppress log on reverse lookup failiure, as there's no real value in doing so.
markus ok
Diffstat (limited to 'usr.bin/ssh/canohost.c')
-rw-r--r--usr.bin/ssh/canohost.c4
1 files changed, 3 insertions, 1 deletions
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);
}