diff options
author | 2006-03-14 00:15:39 +0000 | |
---|---|---|
committer | 2006-03-14 00:15:39 +0000 | |
commit | 0def799513e89a830a54900fe9bf2b5a603fa714 (patch) | |
tree | 3520defefe6a10fee5f10bcfb60b324b2ca03d15 | |
parent | Remove unused softc member. (diff) | |
download | wireguard-openbsd-0def799513e89a830a54900fe9bf2b5a603fa714.tar.xz wireguard-openbsd-0def799513e89a830a54900fe9bf2b5a603fa714.zip |
log the originating address and not just the name when a reverse
mapping check fails, requested by linux AT linuon.com
-rw-r--r-- | usr.bin/ssh/canohost.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/canohost.c b/usr.bin/ssh/canohost.c index 0651ba77ab2..60b25db2519 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.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> @@ -99,7 +99,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. */ |