From 97c8a6d9ff47083a72ada5b74da2c1a83a249fc8 Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Sat, 10 Feb 2001 01:33:33 +0000 Subject: add debug message, since sshd blocks here if DNS is not available --- usr.bin/ssh/canohost.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.bin/ssh') 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) { -- cgit v1.2.3