mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
Add the setDynDNS to the confcertdialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2756 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
50e2e5f672
commit
d70e7a3b71
3 changed files with 14 additions and 3 deletions
|
@ -2691,7 +2691,7 @@ bool p3ConnectMgr::setDynDNS(std::string id, std::string dyndns)
|
|||
if (mOthersList.end() == (it = mOthersList.find(id)))
|
||||
{
|
||||
#ifdef CONN_DEBUG
|
||||
std::cerr << "p3ConnectMgr::setLocalAddress() cannot add addres info : peer id not found in friend list id: " << id << std::endl;
|
||||
std::cerr << "p3ConnectMgr::setDynDNS() cannot add dyn dns info : peer id not found in friend list id: " << id << std::endl;
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -733,6 +733,9 @@ bool p3Peers::setExtAddress(std::string id, std::string addr_str, uint16_t port
|
|||
|
||||
bool p3Peers::setDynDNS(std::string id, std::string dyndns)
|
||||
{
|
||||
#ifdef P3PEERS_DEBUG
|
||||
std::cerr << "p3Peers::setDynDNS() called with id: " << id << " dyndns: " << dyndns <<std::endl;
|
||||
#endif
|
||||
return mConnMgr->setDynDNS(id, dyndns);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue