mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-23 02:12:12 +00:00
- markus@cvs.openbsd.org 2001/02/10 1:33:32
[canohost.c] add debug message, since sshd blocks here if DNS is not available
This commit is contained in:
parent
075390a3f8
commit
874a0b364c
@ -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 $
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user