diff options
-rw-r--r-- | auth.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth.c,v 1.114 2016/03/07 19:02:43 djm Exp $ */ | 1 | /* $OpenBSD: auth.c,v 1.115 2016/06/15 00:40:40 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -857,7 +857,7 @@ remote_hostname(struct ssh *ssh) | |||
857 | hints.ai_socktype = SOCK_STREAM; | 857 | hints.ai_socktype = SOCK_STREAM; |
858 | if (getaddrinfo(name, NULL, &hints, &aitop) != 0) { | 858 | if (getaddrinfo(name, NULL, &hints, &aitop) != 0) { |
859 | logit("reverse mapping checking getaddrinfo for %.700s " | 859 | logit("reverse mapping checking getaddrinfo for %.700s " |
860 | "[%s] failed - POSSIBLE BREAK-IN ATTEMPT!", name, ntop); | 860 | "[%s] failed.", name, ntop); |
861 | return strdup(ntop); | 861 | return strdup(ntop); |
862 | } | 862 | } |
863 | /* Look for the address from the list of addresses. */ | 863 | /* Look for the address from the list of addresses. */ |
@@ -872,8 +872,7 @@ remote_hostname(struct ssh *ssh) | |||
872 | if (ai == NULL) { | 872 | if (ai == NULL) { |
873 | /* Address not found for the host name. */ | 873 | /* Address not found for the host name. */ |
874 | logit("Address %.100s maps to %.600s, but this does not " | 874 | logit("Address %.100s maps to %.600s, but this does not " |
875 | "map back to the address - POSSIBLE BREAK-IN ATTEMPT!", | 875 | "map back to the address.", ntop, name); |
876 | ntop, name); | ||
877 | return strdup(ntop); | 876 | return strdup(ntop); |
878 | } | 877 | } |
879 | return strdup(name); | 878 | return strdup(name); |