diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-02-10 21:39:49 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-02-10 21:39:49 +0000 |
commit | 874a0b364c64beda0cb8e55a7b684d76b592c91c (patch) | |
tree | 34d4a98918e41b3328d27adfe94443364557351f /canohost.c | |
parent | 075390a3f8ea4f56265d8776c762ab4dc10d8227 (diff) |
- markus@cvs.openbsd.org 2001/02/10 1:33:32
[canohost.c]
add debug message, since sshd blocks here if DNS is not available
Diffstat (limited to 'canohost.c')
-rw-r--r-- | canohost.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: canohost.c,v 1.22 2001/02/08 22:37:10 markus Exp $"); +RCSID("$OpenBSD: canohost.c,v 1.23 2001/02/10 01:33:32 markus Exp $"); #include "packet.h" #include "xmalloc.h" @@ -71,6 +71,7 @@ get_remote_hostname(int socket, int reverse_mapping_check) NULL, 0, NI_NUMERICHOST) != 0) fatal("get_remote_hostname: getnameinfo NI_NUMERICHOST failed"); + debug("Trying to reverse map address %.100s.", ntop); /* Map the IP address to a host name. */ if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name), NULL, 0, NI_NAMEREQD) != 0) { |