fixed bug causing net reset when closing config

This commit is contained in:
csoler 2016-01-25 22:39:10 -05:00
parent 49e2ee15af
commit 39b3df964a

View File

@ -1212,7 +1212,7 @@ bool p3NetMgrIMPL::setExtAddress(const struct sockaddr_storage &addr)
bool changed = false;
{
RsStackMutex stack(mNetMtx); /****** STACK LOCK MUTEX *******/
if (sockaddr_storage_same(mExtAddr, addr))
if (!sockaddr_storage_same(mExtAddr, addr))
{
changed = true;
}