diff options
Diffstat (limited to 'canohost.c')
-rw-r--r-- | canohost.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/canohost.c b/canohost.c index 823545d4c..5d345eb27 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.25 2001/04/12 19:15:24 markus Exp $"); | 15 | RCSID("$OpenBSD: canohost.c,v 1.26 2001/04/18 14:15:00 markus Exp $"); |
16 | 16 | ||
17 | #include "packet.h" | 17 | #include "packet.h" |
18 | #include "xmalloc.h" | 18 | #include "xmalloc.h" |
@@ -71,7 +71,7 @@ get_remote_hostname(int socket, int reverse_mapping_check) | |||
71 | NULL, 0, NI_NUMERICHOST) != 0) | 71 | NULL, 0, NI_NUMERICHOST) != 0) |
72 | fatal("get_remote_hostname: getnameinfo NI_NUMERICHOST failed"); | 72 | fatal("get_remote_hostname: getnameinfo NI_NUMERICHOST failed"); |
73 | 73 | ||
74 | debug("Trying to reverse map address %.100s.", ntop); | 74 | debug3("Trying to reverse map address %.100s.", ntop); |
75 | /* Map the IP address to a host name. */ | 75 | /* Map the IP address to a host name. */ |
76 | if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name), | 76 | if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name), |
77 | NULL, 0, NI_NAMEREQD) != 0) { | 77 | NULL, 0, NI_NAMEREQD) != 0) { |