mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 00:49:41 -05:00
Add the ip address of the DNSResolver to the top of the list of the connect addresses.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4754 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ac6f0fcfe4
commit
e430612714
@ -1805,7 +1805,7 @@ void p3LinkMgrIMPL::locked_ConnectAttempt_AddDynDNS(peerConnectState *peer, std
|
|||||||
/* check address validity */
|
/* check address validity */
|
||||||
if (locked_CheckPotentialAddr(&(pca.addr), 0))
|
if (locked_CheckPotentialAddr(&(pca.addr), 0))
|
||||||
{
|
{
|
||||||
addAddressIfUnique(peer->connAddrs, pca, false);
|
addAddressIfUnique(peer->connAddrs, pca, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user