diff options
Diffstat (limited to 'canohost.c')
-rw-r--r-- | canohost.c | 4 |
1 files changed, 3 insertions, 1 deletions
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" |
15 | RCSID("$OpenBSD: canohost.c,v 1.32 2002/06/11 08:11:45 itojun Exp $"); | 15 | RCSID("$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 | ||