From 3bdda60f3ecc92f33bab4d65c8d348dda9acc9dd Mon Sep 17 00:00:00 2001 From: Miguel Herranz Date: Thu, 23 Feb 2017 18:20:17 +0100 Subject: Add print_pl_stats daemon command --- src/daemon/command_server.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/daemon/command_server.cpp') diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp index 90142f2fb..4a063268f 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -68,6 +68,11 @@ t_command_server::t_command_server( , std::bind(&t_command_parser_executor::print_peer_list, &m_parser, p::_1) , "Print peer list" ); + m_command_lookup.set_handler( + "print_pl_stats" + , std::bind(&t_command_parser_executor::print_peer_list_stats, &m_parser, p::_1) + , "Print peer list stats" + ); m_command_lookup.set_handler( "print_cn" , std::bind(&t_command_parser_executor::print_connections, &m_parser, p::_1) -- cgit v1.2.3