diff options
author | 2001-02-10 01:33:32 +0000 | |
---|---|---|
committer | 2001-02-10 01:33:32 +0000 | |
commit | d3ea708d731eb9e6fbed4b20abd95d7a74e5ca10 (patch) | |
tree | 7ab164fc7538c1d369baf1e20f8ad22fa3385329 | |
parent | Mention that you can quote pathnames with spaces in them (diff) | |
download | wireguard-openbsd-d3ea708d731eb9e6fbed4b20abd95d7a74e5ca10.tar.xz wireguard-openbsd-d3ea708d731eb9e6fbed4b20abd95d7a74e5ca10.zip |
add debug message, since sshd blocks here if DNS is not available
-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) { |