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:
thunder2 2012-01-06 22:03:46 +00:00
parent ac6f0fcfe4
commit e430612714

View File

@ -1805,7 +1805,7 @@ void p3LinkMgrIMPL::locked_ConnectAttempt_AddDynDNS(peerConnectState *peer, std
/* check address validity */
if (locked_CheckPotentialAddr(&(pca.addr), 0))
{
addAddressIfUnique(peer->connAddrs, pca, false);
addAddressIfUnique(peer->connAddrs, pca, true);
}
}
else