mirror of
https://github.com/wownero/wownero.git
synced 2026-11-14 04:13:54 +01:00
daemon: add unban all command
This commit is contained in:
@@ -2419,6 +2419,12 @@ namespace cryptonote
|
||||
{
|
||||
epee::net_utils::network_address na;
|
||||
|
||||
if (!i->ban && i->host == "all")
|
||||
{
|
||||
m_p2p.clear_bans();
|
||||
continue;
|
||||
}
|
||||
|
||||
// try subnet first
|
||||
if (!i->host.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user