From 874a0b364c64beda0cb8e55a7b684d76b592c91c Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Sat, 10 Feb 2001 21:39:49 +0000 Subject: - markus@cvs.openbsd.org 2001/02/10 1:33:32 [canohost.c] add debug message, since sshd blocks here if DNS is not available --- ChangeLog | 5 ++++- canohost.c | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e33007ac5..76c61af87 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,9 @@ - markus@cvs.openbsd.org 2001/02/8 22:37:10 [canohost.c] remove last call to sprintf; ok deraadt@ + - markus@cvs.openbsd.org 2001/02/10 1:33:32 + [canohost.c] + add debug message, since sshd blocks here if DNS is not available 20010210 - (djm) Sync sftp and scp stuff from OpenBSD: @@ -3792,4 +3795,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.715 2001/02/10 21:34:46 mouring Exp $ +$Id: ChangeLog,v 1.716 2001/02/10 21:39:49 mouring Exp $ diff --git a/canohost.c b/canohost.c index d47940b1b..52921f5b0 100644 --- a/canohost.c +++ b/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" @@ -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) { -- cgit v1.2.3