mirror of
https://github.com/monero-project/monero.git
synced 2026-01-06 04:32:51 +01:00
p2p: reject invalid rpc_port in peer lists
This commit is contained in:
@@ -1857,6 +1857,8 @@ namespace nodetool
|
||||
const epee::net_utils::ipv4_network_address &ipv4 = na.as<const epee::net_utils::ipv4_network_address>();
|
||||
if (ipv4.ip() == 0)
|
||||
ignore = true;
|
||||
else if (ipv4.port() == be.rpc_port)
|
||||
ignore = true;
|
||||
}
|
||||
if (ignore)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user