diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index 9063e56ba..82ba9913b 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -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))