summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-07-11 03:54:43 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-07-11 03:54:43 +0000
commitefee05958cc5ef649fde971a307b70eee2941871 (patch)
tree8d132d0ec3be3411ad610762e62964379e3d0060 /sshconnect.c
parent6827395b07f8a74161ba12fa82b0a7617cad27ba (diff)
- itojun@cvs.openbsd.org 2002/07/09 11:56:50
[sshconnect.c] silently try next address on connect(2). markus ok
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 32e57296..f4301be3 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -13,7 +13,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshconnect.c,v 1.127 2002/06/27 08:49:44 markus Exp $");
+RCSID("$OpenBSD: sshconnect.c,v 1.128 2002/07/09 11:56:50 itojun Exp $");
#include <openssl/bn.h>
@@ -307,9 +307,11 @@ ssh_connect(const char *host, struct sockaddr_storage * hostaddr,
} else {
if (errno == ECONNREFUSED)
full_failure = 0;
+#if 0
log("ssh: connect to address %s port %s: %s",
sockaddr_ntop(ai->ai_addr, ai->ai_addrlen),
strport, strerror(errno));
+#endif
/*
* Close the failed socket; there appear to
* be some problems when reusing a socket for