Fix p3PeerMgrIMPL::UpdateOwnAddress local address

Due to a regression introduced in
dedfcb2b60 the local address was not
updated correctly causing part of RS networking being stuck and printing
lot of invalid sockaddr_storage messages, this commit fix the regression
This commit is contained in:
Gioacchino Mazzurco 2018-03-03 01:39:50 +01:00
parent dedfcb2b60
commit 52ef72d761
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -1308,7 +1308,7 @@ bool p3PeerMgrIMPL::UpdateOwnAddress( const sockaddr_storage& pLocalAddr,
}
}
sockaddr_storage_copy(mOwnState.localaddr, localAddr);
sockaddr_storage_copy(localAddr, mOwnState.localaddr);
}