|
|
|
@ -1478,7 +1478,7 @@ bool OpenNetworkConnection(const CAddress& addrConnect, CSemaphoreGrant *grantOu
@@ -1478,7 +1478,7 @@ bool OpenNetworkConnection(const CAddress& addrConnect, CSemaphoreGrant *grantOu
|
|
|
|
|
if (!pszDest) { |
|
|
|
|
if (IsLocal(addrConnect) || |
|
|
|
|
FindNode((CNetAddr)addrConnect) || CNode::IsBanned(addrConnect) || |
|
|
|
|
FindNode(addrConnect.ToStringIPPort().c_str())) |
|
|
|
|
FindNode(addrConnect.ToStringIPPort())) |
|
|
|
|
return false; |
|
|
|
|
} else if (FindNode(pszDest)) |
|
|
|
|
return false; |
|
|
|
|