mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-30 11:24:24 -04:00
Share additional addresses via RsCertificate
This commit is contained in:
parent
8542abd4f0
commit
bed856425f
13 changed files with 267 additions and 149 deletions
|
@ -727,6 +727,11 @@ void PeersHandler::handleWildcard(Request &req, Response &resp)
|
|||
peerDetails.localPort );
|
||||
if (!peerDetails.dyndns.empty())
|
||||
mRsPeers->setDynDNS(peerDetails.id, peerDetails.dyndns);
|
||||
for(auto&& ipr : peerDetails.ipAddressList)
|
||||
mRsPeers->addPeerLocator(
|
||||
peerDetails.id,
|
||||
RsUrl(ipr.substr(0, ipr.find(' '))) );
|
||||
|
||||
}
|
||||
}
|
||||
while(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue