From 759d049ae819adc1e913950da4772b5a6163eb79 Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Mon, 15 Dec 2014 16:36:57 +0100 Subject: connect: singleipconnect(): properly try other address families after failure --- lib/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/connect.c b/lib/connect.c index b3a96ce83..203345b92 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -1049,7 +1049,7 @@ static CURLcode singleipconnect(struct connectdata *conn, if(result == CURLE_UNSUPPORTED_PROTOCOL) { /* The address family is not supported on this interface. We can continue trying addresses */ - return CURLE_OK; + return CURLE_COULDNT_CONNECT; } return result; } -- cgit v1.2.3