summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2001-02-10 01:33:32 +0000
committermarkus <markus@openbsd.org>2001-02-10 01:33:32 +0000
commitd3ea708d731eb9e6fbed4b20abd95d7a74e5ca10 (patch)
tree7ab164fc7538c1d369baf1e20f8ad22fa3385329
parentMention that you can quote pathnames with spaces in them (diff)
downloadwireguard-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.c3
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) {