mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
fixed uninitialised memoy read causing non saving of whitelist ranges
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8323 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9ef5557146
commit
94649dfbfd
2 changed files with 15 additions and 5 deletions
|
@ -693,6 +693,8 @@ bool p3BanList::loadList(std::list<RsItem*>& load)
|
|||
blp.fromRsTlvBanListEntry(*it2) ;
|
||||
|
||||
mWhiteListedRanges[blp.addr] = blp ;
|
||||
|
||||
std::cerr << "Read whitelisted range " << sockaddr_storage_iptostring(blp.addr) << "/" << blp.masked_bytes << std::endl;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue