aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_server.cpp
diff options
context:
space:
mode:
authorMiguel Herranz <miguel@ipglider.org>2017-02-23 18:20:17 +0100
committerMiguel Herranz <miguel@ipglider.org>2017-02-23 18:20:17 +0100
commit3bdda60f3ecc92f33bab4d65c8d348dda9acc9dd (patch)
tree75c56ef87230ab8d68d9cb0d30c458d6dd51724a /src/daemon/command_server.cpp
parentMerge pull request #1775 (diff)
downloadmonero-3bdda60f3ecc92f33bab4d65c8d348dda9acc9dd.tar.xz
Add print_pl_stats daemon command
Diffstat (limited to 'src/daemon/command_server.cpp')
-rw-r--r--src/daemon/command_server.cpp5
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"