diff options
author | Miguel Herranz <miguel@ipglider.org> | 2017-02-23 18:20:17 +0100 |
---|---|---|
committer | Miguel Herranz <miguel@ipglider.org> | 2017-02-23 18:20:17 +0100 |
commit | 3bdda60f3ecc92f33bab4d65c8d348dda9acc9dd (patch) | |
tree | 75c56ef87230ab8d68d9cb0d30c458d6dd51724a /src/daemon/command_server.cpp | |
parent | Merge pull request #1775 (diff) | |
download | monero-3bdda60f3ecc92f33bab4d65c8d348dda9acc9dd.tar.xz |
Add print_pl_stats daemon command
Diffstat (limited to 'src/daemon/command_server.cpp')
-rw-r--r-- | src/daemon/command_server.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ -69,6 +69,11 @@ t_command_server::t_command_server( , "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) , "Print connections" |