diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-07-09 11:56:28 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-07-09 11:56:28 +0000 |
commit | 6cfbec6b94a2d3ec226746f6444196014f9b7876 (patch) | |
tree | cd7bc07ba9be15ed3fdd1d134f54e03b40cb6683 /usr.bin/ssh/canohost.c | |
parent | d374f808543f568f89fcfc344fe227199aa7e0d1 (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.c | 4 |
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); } |