From fd60d05d5d0c50790f518e7c58f11d73193fc249 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 26 Jun 2019 09:14:23 +0000 Subject: daemon: fix print_pl only printing public zone peers --- src/p2p/net_node.inl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/p2p/net_node.inl') diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index 00467132a..8c0cff7e2 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -1739,6 +1739,15 @@ namespace nodetool } //----------------------------------------------------------------------------------- template + void node_server::get_peerlist(std::vector& gray, std::vector& white) + { + for (auto &zone: m_network_zones) + { + zone.second.m_peerlist.get_peerlist(gray, white); // appends + } + } + //----------------------------------------------------------------------------------- + template bool node_server::idle_worker() { m_peer_handshake_idle_maker_interval.do_call(boost::bind(&node_server::peer_sync_idle_maker, this)); -- cgit v1.2.3