Added new feed item when a wrong external ip address is reported.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8350 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-06-03 12:38:23 +00:00
parent e8c60816cf
commit 22a7d2eeeb
8 changed files with 150 additions and 55 deletions

View file

@ -1239,6 +1239,7 @@ bool p3PeerMgrIMPL::addCandidateForOwnExternalAddress(const RsPeerId &from, cons
{
std::cerr << "(WW) peer reports an address that is not our current external address. This is weird." << std::endl;
RsServer::notify()->AddFeedItem(RS_FEED_ITEM_SEC_WRONG_EXTERNAL_IP_REPORTED, from.toStdString(), sockaddr_storage_iptostring(own_addr), sockaddr_storage_iptostring(addr));
//mLinkMgr->disconnectFriend(from) ;
}
return true ;