summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-07-11 03:56:46 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-07-11 03:56:46 +0000
commite982773d2aa4f5fdc5e9f42838fc3d06c1f12d0b (patch)
treea70a9c203cd0c2801134263bedbfe228017242fd
parentefee05958cc5ef649fde971a307b70eee2941871 (diff)
- 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
-rw-r--r--ChangeLog7
-rw-r--r--canohost.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d06e07c5..d6c8753b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,11 @@
5 - itojun@cvs.openbsd.org 2002/07/09 11:56:50 5 - itojun@cvs.openbsd.org 2002/07/09 11:56:50
6 [sshconnect.c] 6 [sshconnect.c]
7 silently try next address on connect(2). markus ok 7 silently try next address on connect(2). markus ok
8 - itojun@cvs.openbsd.org 2002/07/09 11:56:27
9 [canohost.c]
10 suppress log on reverse lookup failiure, as there's no real value in
11 doing so.
12 markus ok
8 13
920020709 1420020709
10 - (bal) NO_IPPORT_RESERVED_CONCEPT used instead of CYGWIN so other platforms 15 - (bal) NO_IPPORT_RESERVED_CONCEPT used instead of CYGWIN so other platforms
@@ -1328,4 +1333,4 @@
1328 - (stevesk) entropy.c: typo in debug message 1333 - (stevesk) entropy.c: typo in debug message
1329 - (djm) ssh-keygen -i needs seeded RNG; report from markus@ 1334 - (djm) ssh-keygen -i needs seeded RNG; report from markus@
1330 1335
1331$Id: ChangeLog,v 1.2354 2002/07/11 03:54:43 mouring Exp $ 1336$Id: ChangeLog,v 1.2355 2002/07/11 03:56:46 mouring Exp $
diff --git a/canohost.c b/canohost.c
index 00c499ca0..8081ed598 100644
--- a/canohost.c
+++ b/canohost.c
@@ -12,7 +12,7 @@
12 */ 12 */
13 13
14#include "includes.h" 14#include "includes.h"
15RCSID("$OpenBSD: canohost.c,v 1.32 2002/06/11 08:11:45 itojun Exp $"); 15RCSID("$OpenBSD: canohost.c,v 1.33 2002/07/09 11:56:27 itojun Exp $");
16 16
17#include "packet.h" 17#include "packet.h"
18#include "xmalloc.h" 18#include "xmalloc.h"
@@ -77,7 +77,9 @@ get_remote_hostname(int socket, int verify_reverse_mapping)
77 if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name), 77 if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name),
78 NULL, 0, NI_NAMEREQD) != 0) { 78 NULL, 0, NI_NAMEREQD) != 0) {
79 /* Host name not found. Use ip address. */ 79 /* Host name not found. Use ip address. */
80#if 0
80 log("Could not reverse map address %.100s.", ntop); 81 log("Could not reverse map address %.100s.", ntop);
82#endif
81 return xstrdup(ntop); 83 return xstrdup(ntop);
82 } 84 }
83 85