fixup! Improve RsUrl

This commit is contained in:
Gioacchino Mazzurco 2019-11-11 23:49:06 +01:00
parent 056904c90b
commit ca6071fa21
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -1170,8 +1170,8 @@ bool p3PeerMgrIMPL::addSslOnlyFriend(
* previously known IP addresses */
if(!dt.isHiddenNode)
{
for(const std::string& locator : dt.ipAddressList)
addPeerLocator(sslId, locator);
for(const std::string& ipStr : dt.ipAddressList)
addPeerLocator(sslId, RsUrl(ipStr));
if(dt.extPort && !dt.extAddr.empty())
{