Added missing mutex in p3BanList::removeIpRange

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8352 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-06-03 14:15:17 +00:00
parent 82d7ab6052
commit 7bb30921a1

View File

@ -359,6 +359,8 @@ void p3BanList::getBannedIps(std::list<BanListPeer> &lst)
void p3BanList::removeIpRange(const struct sockaddr_storage& addr,int masked_bytes,uint32_t list_type)
{
RS_STACK_MUTEX(mBanMtx) ;
std::map<sockaddr_storage,BanListPeer>::iterator it ;
if(list_type == RSBANLIST_TYPE_BLACKLIST)