[canohost.c]
     suppress log on reverse lookup failiure, as there's no real value in
     doing so.
     markus ok
This commit is contained in:
Ben Lindstrom 2002-07-11 03:56:46 +00:00
parent efee05958c
commit e982773d2a
2 changed files with 9 additions and 2 deletions

View File

@ -5,6 +5,11 @@
- itojun@cvs.openbsd.org 2002/07/09 11:56:50 - itojun@cvs.openbsd.org 2002/07/09 11:56:50
[sshconnect.c] [sshconnect.c]
silently try next address on connect(2). markus ok silently try next address on connect(2). markus ok
- itojun@cvs.openbsd.org 2002/07/09 11:56:27
[canohost.c]
suppress log on reverse lookup failiure, as there's no real value in
doing so.
markus ok
20020709 20020709
- (bal) NO_IPPORT_RESERVED_CONCEPT used instead of CYGWIN so other platforms - (bal) NO_IPPORT_RESERVED_CONCEPT used instead of CYGWIN so other platforms
@ -1328,4 +1333,4 @@
- (stevesk) entropy.c: typo in debug message - (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@ - (djm) ssh-keygen -i needs seeded RNG; report from markus@
$Id: ChangeLog,v 1.2354 2002/07/11 03:54:43 mouring Exp $ $Id: ChangeLog,v 1.2355 2002/07/11 03:56:46 mouring Exp $

View File

@ -12,7 +12,7 @@
*/ */
#include "includes.h" #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 "packet.h"
#include "xmalloc.h" #include "xmalloc.h"
@ -77,7 +77,9 @@ get_remote_hostname(int socket, int verify_reverse_mapping)
if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name), if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name),
NULL, 0, NI_NAMEREQD) != 0) { NULL, 0, NI_NAMEREQD) != 0) {
/* Host name not found. Use ip address. */ /* Host name not found. Use ip address. */
#if 0
log("Could not reverse map address %.100s.", ntop); log("Could not reverse map address %.100s.", ntop);
#endif
return xstrdup(ntop); return xstrdup(ntop);
} }