don't overwrite own/friends IPs with discovery info (patch from Cyril)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8331 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
electron128 2015-06-01 08:02:27 +00:00
parent 1c507bddd8
commit 4643d0cbe7

View File

@ -427,8 +427,6 @@ void p3discovery2::updatePeerAddresses(const RsDiscContactItem *item)
}
else
{
mPeerMgr->setLocalAddress(item->sslId, item->localAddrV4.addr);
mPeerMgr->setExtAddress(item->sslId, item->extAddrV4.addr);
mPeerMgr->setDynDNS(item->sslId, item->dyndns);
updatePeerAddressList(item);