diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-02-24 11:54:49 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-02-24 11:54:49 +0200 |
commit | bc8d3252169f55bbe40df247fb39143fab5bb6f0 (patch) | |
tree | 75c56ef87230ab8d68d9cb0d30c458d6dd51724a /src/daemon/command_server.cpp | |
parent | Merge pull request #1775 (diff) | |
parent | Add print_pl_stats daemon command (diff) | |
download | monero-bc8d3252169f55bbe40df247fb39143fab5bb6f0.tar.xz |
Merge pull request #1777
3bdda60f Add print_pl_stats daemon command (Miguel Herranz)
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" |