mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-29 18:53:14 +00:00
p2p: remove banned peers from the white list
This commit is contained in:
parent
8b3b106ad1
commit
cb069d0a42
1 changed files with 4 additions and 0 deletions
|
@ -245,6 +245,10 @@ namespace nodetool
|
||||||
zone.second.m_net_server.get_config_object().close(c);
|
zone.second.m_net_server.get_config_object().close(c);
|
||||||
|
|
||||||
conns.clear();
|
conns.clear();
|
||||||
|
|
||||||
|
peerlist_entry pe{};
|
||||||
|
pe.adr = addr;
|
||||||
|
zone.second.m_peerlist.remove_from_peer_white(pe);
|
||||||
}
|
}
|
||||||
|
|
||||||
MCLOG_CYAN(el::Level::Info, "global", "Host " << addr.host_str() << " blocked.");
|
MCLOG_CYAN(el::Level::Info, "global", "Host " << addr.host_str() << " blocked.");
|
||||||
|
|
Loading…
Reference in a new issue