mirror of
https://github.com/monero-project/monero.git
synced 2026-06-12 11:01:34 -07:00
Merge pull request #10648
f93346a Fixed dangling iterator in is_remote_host_allowed (SChernykh)
This commit is contained in:
@@ -202,8 +202,8 @@ namespace nodetool
|
||||
{
|
||||
if (now >= it->second)
|
||||
{
|
||||
it = m_blocked_subnets.erase(it);
|
||||
MCLOG_CYAN(el::Level::Info, "global", "Subnet " << it->first.host_str() << " unblocked.");
|
||||
it = m_blocked_subnets.erase(it);
|
||||
continue;
|
||||
}
|
||||
if (it->first.matches(ipv4_address))
|
||||
|
||||
Reference in New Issue
Block a user