ipv6 unreachable no print

This commit is contained in:
blackjok3r
2018-12-06 19:16:11 +08:00
parent 29cefb7ef1
commit ce88a31486

View File

@@ -498,7 +498,7 @@ bool static ConnectSocketDirectly(const CService &addrConnect, SOCKET& hSocketRe
CloseSocket(hSocket);
return false;
}
if (nRet != 0)
if (nRet != 0 && nRet != 101)
{
LogPrintf("connect() to %s failed after select(): %s\n", addrConnect.ToString(), NetworkErrorString(nRet));
CloseSocket(hSocket);