mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-04-28 10:56:16 -04:00
fixed bug causing net reset when closing config
This commit is contained in:
parent
49e2ee15af
commit
39b3df964a
@ -1212,7 +1212,7 @@ bool p3NetMgrIMPL::setExtAddress(const struct sockaddr_storage &addr)
|
|||||||
bool changed = false;
|
bool changed = false;
|
||||||
{
|
{
|
||||||
RsStackMutex stack(mNetMtx); /****** STACK LOCK MUTEX *******/
|
RsStackMutex stack(mNetMtx); /****** STACK LOCK MUTEX *******/
|
||||||
if (sockaddr_storage_same(mExtAddr, addr))
|
if (!sockaddr_storage_same(mExtAddr, addr))
|
||||||
{
|
{
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user