mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
Added Filter to Stun Results to ensure that we only get external addresses.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@583 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
cbd0b216a4
commit
9fbf95bf5d
@ -700,7 +700,7 @@ bool UdpSorter::locked_checkExternalAddress()
|
||||
std::list<TouStunPeer>::iterator p2;
|
||||
for(it = mStunList.begin(); it != mStunList.end(); it++)
|
||||
{
|
||||
if (it->response)
|
||||
if (it->response && isExternalNet(&(it->eaddr.sin_addr)))
|
||||
{
|
||||
if (!found1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user