diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-02-10 01:33:33 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-02-10 01:33:33 +0000 |
commit | 97c8a6d9ff47083a72ada5b74da2c1a83a249fc8 (patch) | |
tree | b56c317f91dc97dffca422b0be7ad5ffd1c1707d /usr.bin/ssh | |
parent | adf6430be581c571f586c9946eb76f3d1dcb49f3 (diff) |
add debug message, since sshd blocks here if DNS is not available
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/canohost.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/canohost.c b/usr.bin/ssh/canohost.c index 616bcd82a73..b49bf4efc93 100644 --- a/usr.bin/ssh/canohost.c +++ b/usr.bin/ssh/canohost.c @@ -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" @@ -49,6 +49,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) { |