mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 08:59:50 -05:00
fixup! Improve RsUrl
This commit is contained in:
parent
056904c90b
commit
ca6071fa21
@ -1170,8 +1170,8 @@ bool p3PeerMgrIMPL::addSslOnlyFriend(
|
|||||||
* previously known IP addresses */
|
* previously known IP addresses */
|
||||||
if(!dt.isHiddenNode)
|
if(!dt.isHiddenNode)
|
||||||
{
|
{
|
||||||
for(const std::string& locator : dt.ipAddressList)
|
for(const std::string& ipStr : dt.ipAddressList)
|
||||||
addPeerLocator(sslId, locator);
|
addPeerLocator(sslId, RsUrl(ipStr));
|
||||||
|
|
||||||
if(dt.extPort && !dt.extAddr.empty())
|
if(dt.extPort && !dt.extAddr.empty())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user