diff options
author | Damien Miller <djm@mindrot.org> | 2006-03-15 02:06:41 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-03-15 02:06:41 +0100 |
commit | de85a28825de0dea6aa5b6d3e79f7207d7dda51d (patch) | |
tree | cffe44e02b837545563d3147daea738744679fee /canohost.c | |
parent | - dtucker@cvs.openbsd.org 2006/03/13 10:26:52 (diff) | |
download | openssh-de85a28825de0dea6aa5b6d3e79f7207d7dda51d.tar.xz openssh-de85a28825de0dea6aa5b6d3e79f7207d7dda51d.zip |
- djm@cvs.openbsd.org 2006/03/14 00:15:39
[canohost.c]
log the originating address and not just the name when a reverse
mapping check fails, requested by linux AT linuon.com
Diffstat (limited to 'canohost.c')
-rw-r--r-- | canohost.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/canohost.c b/canohost.c index 76b0bee02..f15aecb62 100644 --- a/canohost.c +++ b/canohost.c @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: canohost.c,v 1.49 2006/02/22 00:04:44 stevesk Exp $"); +RCSID("$OpenBSD: canohost.c,v 1.50 2006/03/14 00:15:39 djm Exp $"); #include <ctype.h> @@ -104,7 +104,7 @@ get_remote_hostname(int sock, int use_dns) hints.ai_socktype = SOCK_STREAM; if (getaddrinfo(name, NULL, &hints, &aitop) != 0) { logit("reverse mapping checking getaddrinfo for %.700s " - "failed - POSSIBLE BREAK-IN ATTEMPT!", name); + "[%s] failed - POSSIBLE BREAK-IN ATTEMPT!", name, ntop); return xstrdup(ntop); } /* Look for the address from the list of addresses. */ |